I just tried to send a Maven-based project to another computer and HORROR, red markers everywhere!!
mvn clean install is building just fine.
Quickly, I noticed that Lombok is not generating getters and setters for my classes, although the
@Setter are being correctly recognised by Eclipse.
Both computers use the same Maven version (3.0.4) but different JDKs (1.6_23 and 1.6_33). They both use Eclipse Indigo 32 bit. Do you have an idea about how to solve the problem?
This question is tagged with
~ Asked on 2012-08-03 22:06:44
When starting with a fresh eclipse installation you, in fact, need to "install" Lombok before being able to use it.
~/.m2/repository/org/projectlombok/lombok/1.16.10/lombok-1.16.10.jar), run it (Example:
java -jar lombok-1.16.10.jar). A window should appear, browse to your
~ Answered on 2012-08-04 08:12:33
If you use STS. You must have Lombok installed in your Eclipse by running lombok-xyz.jar
Please Try the Following the Steps:
EDIT: I did this and was still showing errors, as mentioned in the comments. So I updated the project: right-click on project -> Maven -> Update Project and the errors disappeared.
~ Answered on 2017-07-20 14:11:38