I just tried to send a Maven-based project to another computer and HORROR, red markers everywhere!!
However, mvn clean install
is building just fine.
Quickly, I noticed that Lombok is not generating getters and setters for my classes, although the @Getter
and @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?
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 eclipse.exe
location.