Add Lombok plugin to IntelliJ
![Multi tool use Multi tool use](http://sgv.ssvwv.com/sg/ssvwvcomimagb.png)
Multi tool use
Intellij doesn't recognize Spring annotations and I think its connected to Lombok.
I added the plugin in IntelliJ settings and enabled annotation processing
I am using maven and I have this dependency
dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
Still Intellij can't recognize Slf4j and Spring annotations
java spring-boot lombok intellij-lombok-plugin
add a comment |
Intellij doesn't recognize Spring annotations and I think its connected to Lombok.
I added the plugin in IntelliJ settings and enabled annotation processing
I am using maven and I have this dependency
dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
Still Intellij can't recognize Slf4j and Spring annotations
java spring-boot lombok intellij-lombok-plugin
5
Have you included Spring dependencies? Spring annotations have nothing to do with Lombok
– Héctor
Jan 2 at 11:40
1
Please show us your pom.xml. I think that the problem you are facing is not related with Lombok.
– Lorelorelore
Jan 2 at 11:52
add a comment |
Intellij doesn't recognize Spring annotations and I think its connected to Lombok.
I added the plugin in IntelliJ settings and enabled annotation processing
I am using maven and I have this dependency
dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
Still Intellij can't recognize Slf4j and Spring annotations
java spring-boot lombok intellij-lombok-plugin
Intellij doesn't recognize Spring annotations and I think its connected to Lombok.
I added the plugin in IntelliJ settings and enabled annotation processing
I am using maven and I have this dependency
dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
Still Intellij can't recognize Slf4j and Spring annotations
java spring-boot lombok intellij-lombok-plugin
java spring-boot lombok intellij-lombok-plugin
asked Jan 2 at 11:38
![](https://i.stack.imgur.com/kHbrb.jpg?s=32&g=1)
![](https://i.stack.imgur.com/kHbrb.jpg?s=32&g=1)
Georgi MichevGeorgi Michev
13912
13912
5
Have you included Spring dependencies? Spring annotations have nothing to do with Lombok
– Héctor
Jan 2 at 11:40
1
Please show us your pom.xml. I think that the problem you are facing is not related with Lombok.
– Lorelorelore
Jan 2 at 11:52
add a comment |
5
Have you included Spring dependencies? Spring annotations have nothing to do with Lombok
– Héctor
Jan 2 at 11:40
1
Please show us your pom.xml. I think that the problem you are facing is not related with Lombok.
– Lorelorelore
Jan 2 at 11:52
5
5
Have you included Spring dependencies? Spring annotations have nothing to do with Lombok
– Héctor
Jan 2 at 11:40
Have you included Spring dependencies? Spring annotations have nothing to do with Lombok
– Héctor
Jan 2 at 11:40
1
1
Please show us your pom.xml. I think that the problem you are facing is not related with Lombok.
– Lorelorelore
Jan 2 at 11:52
Please show us your pom.xml. I think that the problem you are facing is not related with Lombok.
– Lorelorelore
Jan 2 at 11:52
add a comment |
4 Answers
4
active
oldest
votes
Follow the steps
1. Build spring application as mentioned in: https://spring.io/guides/gs/spring-boot/
- Install Lombok in IntelliJ (check compatibility with your version of IntelliJ idea)
- Add as a dependency in (pom.xml/build.gradle/other build files)
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
Build project
Enable annotation processing in IntelliJ(You have to do this every time you import new project, if you want it to be enabled by default then follow steps mention in this SO OP.
File
|Other Settings
|Default Settings
, navigate to the compiler settings, annotation processing and enable this option before importing the project.
If you still face issue do once File
/Invalidate caches
/Invalidate and restart
That's it.
I have done all the steps above. Only I haven't tried to actually build the project. After I try to build I get "cannot compile groovy files: no Groovy library is defined for module exampleModule" .. maybe I need to see how to resolve this one first. I had to delete project and import again that's why I am having these difficulties
– Georgi Michev
Jan 2 at 13:15
1
Check this : stackoverflow.com/a/43450889/2987755 and stackoverflow.com/a/50275395/2987755 should help with groovy error.
– dkb
Jan 3 at 5:43
add a comment |
Go to preferences in Intellij and install Lombok Plugin.Then it will work
add a comment |
You need to install the lombok plugin to intellij as well.
Files->Settings->Plugins->Click on Browse repositories->Search for Lombok->Install plugin->Restart Intellij
add a comment |
My pom.xml looks like this
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<properties>
<spring-data-dynamodb.version>4.5.0</spring-data-dynamodb.version>
<aws-java-sdk.version>1.11.64</aws-java-sdk.version>
</properties>
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc7</artifactId>
</dependency>
<dependency>
<groupId>com.shutterfly.springboard</groupId>
<artifactId>springboard-starter-service-minimal</artifactId>
</dependency
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-aws</artifactId>
<exclusions>
<exclusion>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-cloudformation</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-dynamodb</artifactId>
</dependency>
<dependency>
<groupId>com.github.derjust</groupId>
<artifactId>spring-data-dynamodb</artifactId>
<version>${spring-data-dynamodb.version}</version>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>dynamodb-lock-client</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>org.modelmapper</groupId>
<artifactId>modelmapper</artifactId>
<version>2.0.0</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.shutterfly.springboard</groupId>
<artifactId>springboard-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.shutterfly.springboard</groupId>
<artifactId>springboard-functional-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.rest-assured</groupId>
<artifactId>rest-assured</artifactId>
<version>3.1.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.10.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot</artifactId>
</dependency>
<dependency>
<groupId>com.nimbusds</groupId>
<artifactId>nimbus-jose-jwt</artifactId>
<version>4.37</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.8.1</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
I am not sure what am I missing. Tried to rebuild as well
You can add pom.xml in question instead of adding as an answer. Once you do that delete this answer.
– dkb
Jan 3 at 5:41
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54005654%2fadd-lombok-plugin-to-intellij%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
Follow the steps
1. Build spring application as mentioned in: https://spring.io/guides/gs/spring-boot/
- Install Lombok in IntelliJ (check compatibility with your version of IntelliJ idea)
- Add as a dependency in (pom.xml/build.gradle/other build files)
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
Build project
Enable annotation processing in IntelliJ(You have to do this every time you import new project, if you want it to be enabled by default then follow steps mention in this SO OP.
File
|Other Settings
|Default Settings
, navigate to the compiler settings, annotation processing and enable this option before importing the project.
If you still face issue do once File
/Invalidate caches
/Invalidate and restart
That's it.
I have done all the steps above. Only I haven't tried to actually build the project. After I try to build I get "cannot compile groovy files: no Groovy library is defined for module exampleModule" .. maybe I need to see how to resolve this one first. I had to delete project and import again that's why I am having these difficulties
– Georgi Michev
Jan 2 at 13:15
1
Check this : stackoverflow.com/a/43450889/2987755 and stackoverflow.com/a/50275395/2987755 should help with groovy error.
– dkb
Jan 3 at 5:43
add a comment |
Follow the steps
1. Build spring application as mentioned in: https://spring.io/guides/gs/spring-boot/
- Install Lombok in IntelliJ (check compatibility with your version of IntelliJ idea)
- Add as a dependency in (pom.xml/build.gradle/other build files)
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
Build project
Enable annotation processing in IntelliJ(You have to do this every time you import new project, if you want it to be enabled by default then follow steps mention in this SO OP.
File
|Other Settings
|Default Settings
, navigate to the compiler settings, annotation processing and enable this option before importing the project.
If you still face issue do once File
/Invalidate caches
/Invalidate and restart
That's it.
I have done all the steps above. Only I haven't tried to actually build the project. After I try to build I get "cannot compile groovy files: no Groovy library is defined for module exampleModule" .. maybe I need to see how to resolve this one first. I had to delete project and import again that's why I am having these difficulties
– Georgi Michev
Jan 2 at 13:15
1
Check this : stackoverflow.com/a/43450889/2987755 and stackoverflow.com/a/50275395/2987755 should help with groovy error.
– dkb
Jan 3 at 5:43
add a comment |
Follow the steps
1. Build spring application as mentioned in: https://spring.io/guides/gs/spring-boot/
- Install Lombok in IntelliJ (check compatibility with your version of IntelliJ idea)
- Add as a dependency in (pom.xml/build.gradle/other build files)
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
Build project
Enable annotation processing in IntelliJ(You have to do this every time you import new project, if you want it to be enabled by default then follow steps mention in this SO OP.
File
|Other Settings
|Default Settings
, navigate to the compiler settings, annotation processing and enable this option before importing the project.
If you still face issue do once File
/Invalidate caches
/Invalidate and restart
That's it.
Follow the steps
1. Build spring application as mentioned in: https://spring.io/guides/gs/spring-boot/
- Install Lombok in IntelliJ (check compatibility with your version of IntelliJ idea)
- Add as a dependency in (pom.xml/build.gradle/other build files)
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
Build project
Enable annotation processing in IntelliJ(You have to do this every time you import new project, if you want it to be enabled by default then follow steps mention in this SO OP.
File
|Other Settings
|Default Settings
, navigate to the compiler settings, annotation processing and enable this option before importing the project.
If you still face issue do once File
/Invalidate caches
/Invalidate and restart
That's it.
edited Jan 2 at 12:17
answered Jan 2 at 12:02
![](https://i.stack.imgur.com/gHWsA.jpg?s=32&g=1)
![](https://i.stack.imgur.com/gHWsA.jpg?s=32&g=1)
dkbdkb
1,51211626
1,51211626
I have done all the steps above. Only I haven't tried to actually build the project. After I try to build I get "cannot compile groovy files: no Groovy library is defined for module exampleModule" .. maybe I need to see how to resolve this one first. I had to delete project and import again that's why I am having these difficulties
– Georgi Michev
Jan 2 at 13:15
1
Check this : stackoverflow.com/a/43450889/2987755 and stackoverflow.com/a/50275395/2987755 should help with groovy error.
– dkb
Jan 3 at 5:43
add a comment |
I have done all the steps above. Only I haven't tried to actually build the project. After I try to build I get "cannot compile groovy files: no Groovy library is defined for module exampleModule" .. maybe I need to see how to resolve this one first. I had to delete project and import again that's why I am having these difficulties
– Georgi Michev
Jan 2 at 13:15
1
Check this : stackoverflow.com/a/43450889/2987755 and stackoverflow.com/a/50275395/2987755 should help with groovy error.
– dkb
Jan 3 at 5:43
I have done all the steps above. Only I haven't tried to actually build the project. After I try to build I get "cannot compile groovy files: no Groovy library is defined for module exampleModule" .. maybe I need to see how to resolve this one first. I had to delete project and import again that's why I am having these difficulties
– Georgi Michev
Jan 2 at 13:15
I have done all the steps above. Only I haven't tried to actually build the project. After I try to build I get "cannot compile groovy files: no Groovy library is defined for module exampleModule" .. maybe I need to see how to resolve this one first. I had to delete project and import again that's why I am having these difficulties
– Georgi Michev
Jan 2 at 13:15
1
1
Check this : stackoverflow.com/a/43450889/2987755 and stackoverflow.com/a/50275395/2987755 should help with groovy error.
– dkb
Jan 3 at 5:43
Check this : stackoverflow.com/a/43450889/2987755 and stackoverflow.com/a/50275395/2987755 should help with groovy error.
– dkb
Jan 3 at 5:43
add a comment |
Go to preferences in Intellij and install Lombok Plugin.Then it will work
add a comment |
Go to preferences in Intellij and install Lombok Plugin.Then it will work
add a comment |
Go to preferences in Intellij and install Lombok Plugin.Then it will work
Go to preferences in Intellij and install Lombok Plugin.Then it will work
answered Jan 2 at 11:41
praneet droliapraneet drolia
2291214
2291214
add a comment |
add a comment |
You need to install the lombok plugin to intellij as well.
Files->Settings->Plugins->Click on Browse repositories->Search for Lombok->Install plugin->Restart Intellij
add a comment |
You need to install the lombok plugin to intellij as well.
Files->Settings->Plugins->Click on Browse repositories->Search for Lombok->Install plugin->Restart Intellij
add a comment |
You need to install the lombok plugin to intellij as well.
Files->Settings->Plugins->Click on Browse repositories->Search for Lombok->Install plugin->Restart Intellij
You need to install the lombok plugin to intellij as well.
Files->Settings->Plugins->Click on Browse repositories->Search for Lombok->Install plugin->Restart Intellij
answered Jan 2 at 11:54
![](https://i.stack.imgur.com/6Fvsn.jpg?s=32&g=1)
![](https://i.stack.imgur.com/6Fvsn.jpg?s=32&g=1)
nbirlanbirla
42826
42826
add a comment |
add a comment |
My pom.xml looks like this
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<properties>
<spring-data-dynamodb.version>4.5.0</spring-data-dynamodb.version>
<aws-java-sdk.version>1.11.64</aws-java-sdk.version>
</properties>
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc7</artifactId>
</dependency>
<dependency>
<groupId>com.shutterfly.springboard</groupId>
<artifactId>springboard-starter-service-minimal</artifactId>
</dependency
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-aws</artifactId>
<exclusions>
<exclusion>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-cloudformation</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-dynamodb</artifactId>
</dependency>
<dependency>
<groupId>com.github.derjust</groupId>
<artifactId>spring-data-dynamodb</artifactId>
<version>${spring-data-dynamodb.version}</version>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>dynamodb-lock-client</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>org.modelmapper</groupId>
<artifactId>modelmapper</artifactId>
<version>2.0.0</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.shutterfly.springboard</groupId>
<artifactId>springboard-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.shutterfly.springboard</groupId>
<artifactId>springboard-functional-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.rest-assured</groupId>
<artifactId>rest-assured</artifactId>
<version>3.1.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.10.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot</artifactId>
</dependency>
<dependency>
<groupId>com.nimbusds</groupId>
<artifactId>nimbus-jose-jwt</artifactId>
<version>4.37</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.8.1</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
I am not sure what am I missing. Tried to rebuild as well
You can add pom.xml in question instead of adding as an answer. Once you do that delete this answer.
– dkb
Jan 3 at 5:41
add a comment |
My pom.xml looks like this
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<properties>
<spring-data-dynamodb.version>4.5.0</spring-data-dynamodb.version>
<aws-java-sdk.version>1.11.64</aws-java-sdk.version>
</properties>
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc7</artifactId>
</dependency>
<dependency>
<groupId>com.shutterfly.springboard</groupId>
<artifactId>springboard-starter-service-minimal</artifactId>
</dependency
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-aws</artifactId>
<exclusions>
<exclusion>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-cloudformation</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-dynamodb</artifactId>
</dependency>
<dependency>
<groupId>com.github.derjust</groupId>
<artifactId>spring-data-dynamodb</artifactId>
<version>${spring-data-dynamodb.version}</version>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>dynamodb-lock-client</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>org.modelmapper</groupId>
<artifactId>modelmapper</artifactId>
<version>2.0.0</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.shutterfly.springboard</groupId>
<artifactId>springboard-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.shutterfly.springboard</groupId>
<artifactId>springboard-functional-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.rest-assured</groupId>
<artifactId>rest-assured</artifactId>
<version>3.1.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.10.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot</artifactId>
</dependency>
<dependency>
<groupId>com.nimbusds</groupId>
<artifactId>nimbus-jose-jwt</artifactId>
<version>4.37</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.8.1</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
I am not sure what am I missing. Tried to rebuild as well
You can add pom.xml in question instead of adding as an answer. Once you do that delete this answer.
– dkb
Jan 3 at 5:41
add a comment |
My pom.xml looks like this
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<properties>
<spring-data-dynamodb.version>4.5.0</spring-data-dynamodb.version>
<aws-java-sdk.version>1.11.64</aws-java-sdk.version>
</properties>
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc7</artifactId>
</dependency>
<dependency>
<groupId>com.shutterfly.springboard</groupId>
<artifactId>springboard-starter-service-minimal</artifactId>
</dependency
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-aws</artifactId>
<exclusions>
<exclusion>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-cloudformation</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-dynamodb</artifactId>
</dependency>
<dependency>
<groupId>com.github.derjust</groupId>
<artifactId>spring-data-dynamodb</artifactId>
<version>${spring-data-dynamodb.version}</version>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>dynamodb-lock-client</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>org.modelmapper</groupId>
<artifactId>modelmapper</artifactId>
<version>2.0.0</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.shutterfly.springboard</groupId>
<artifactId>springboard-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.shutterfly.springboard</groupId>
<artifactId>springboard-functional-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.rest-assured</groupId>
<artifactId>rest-assured</artifactId>
<version>3.1.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.10.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot</artifactId>
</dependency>
<dependency>
<groupId>com.nimbusds</groupId>
<artifactId>nimbus-jose-jwt</artifactId>
<version>4.37</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.8.1</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
I am not sure what am I missing. Tried to rebuild as well
My pom.xml looks like this
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<properties>
<spring-data-dynamodb.version>4.5.0</spring-data-dynamodb.version>
<aws-java-sdk.version>1.11.64</aws-java-sdk.version>
</properties>
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc7</artifactId>
</dependency>
<dependency>
<groupId>com.shutterfly.springboard</groupId>
<artifactId>springboard-starter-service-minimal</artifactId>
</dependency
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-aws</artifactId>
<exclusions>
<exclusion>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-cloudformation</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-dynamodb</artifactId>
</dependency>
<dependency>
<groupId>com.github.derjust</groupId>
<artifactId>spring-data-dynamodb</artifactId>
<version>${spring-data-dynamodb.version}</version>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>dynamodb-lock-client</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>org.modelmapper</groupId>
<artifactId>modelmapper</artifactId>
<version>2.0.0</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.shutterfly.springboard</groupId>
<artifactId>springboard-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.shutterfly.springboard</groupId>
<artifactId>springboard-functional-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.rest-assured</groupId>
<artifactId>rest-assured</artifactId>
<version>3.1.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.10.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot</artifactId>
</dependency>
<dependency>
<groupId>com.nimbusds</groupId>
<artifactId>nimbus-jose-jwt</artifactId>
<version>4.37</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.8.1</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
I am not sure what am I missing. Tried to rebuild as well
answered Jan 2 at 13:24
![](https://i.stack.imgur.com/kHbrb.jpg?s=32&g=1)
![](https://i.stack.imgur.com/kHbrb.jpg?s=32&g=1)
Georgi MichevGeorgi Michev
13912
13912
You can add pom.xml in question instead of adding as an answer. Once you do that delete this answer.
– dkb
Jan 3 at 5:41
add a comment |
You can add pom.xml in question instead of adding as an answer. Once you do that delete this answer.
– dkb
Jan 3 at 5:41
You can add pom.xml in question instead of adding as an answer. Once you do that delete this answer.
– dkb
Jan 3 at 5:41
You can add pom.xml in question instead of adding as an answer. Once you do that delete this answer.
– dkb
Jan 3 at 5:41
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54005654%2fadd-lombok-plugin-to-intellij%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Ou,uXPsnc8LihBPN9iIFtun,It x8Xkx4N
5
Have you included Spring dependencies? Spring annotations have nothing to do with Lombok
– Héctor
Jan 2 at 11:40
1
Please show us your pom.xml. I think that the problem you are facing is not related with Lombok.
– Lorelorelore
Jan 2 at 11:52