I downloaded Eclipse Luna and imported a stable existing Maven project which makes use of the @Getter and @Setter lombok annotations. The annotations are recognized, but Eclipse flags any calls to the getter or setter methods giving the error message
The method getSomething() is undefined for the type Foo
Unlike other stackoverflow questions, like this, I am experiencing this issue despite the fact that I have updated my eclipse.ini, and added the lombok.jar to the same directory as my eclipse.exe and eclipse.ini file. The eclipse.ini changes made no difference though, I still have error markets everywhere!
eclipse.ini
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140603-1326
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
C:\Program Files\Java\jdk1.7.0_51\bin\javaw.exe
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m
-javaagent:lombok.jar
-Xbootclasspath/a:lombok.jar
I have done a project > clean, I have tried using the full path to my lombok jar, I have exited and restarted Eclipse all to no avail.
What am I missing here? Thanks for any help!!!