Rahul SK
Rahul SK

Reputation: 422

lombok constant need to mvn install

I have a java spring boot project that uses Lombok. I love this library as it reduces code.

I have a problem here. That every time I switch on my spring-tool-suite project, I need to do:

mvn clean mvn install mvn update

to resolve get set dependency compilation errors.

Upvotes: 0

Views: 122

Answers (1)

sagarwalke.dev
sagarwalke.dev

Reputation: 21

Configure your IDE with lombok.
1.execute lombok.jar and configure IDE
2.Restart IDE
  a)if IDE not working after configuration
   1)goto IDE installation HOME folder and open STS.ini file add

-vmargs
-javaagent:lombok.jar

this two line code ther.
Note:-keep your lombok.jar in IDE installation folder also

Upvotes: 1

Related Questions