Reputation: 422
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
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