Thursday 15 March 2012

java - ProjectLombok - Method Undefined in Eclipse After Installing Eclipse Luna -



java - ProjectLombok - Method Undefined in Eclipse After Installing Eclipse Luna -

i downloaded eclipse luna , imported stable existing maven project makes utilize of @getter , @setter lombok annotations. annotations recognized, eclipse flags calls getter or setter methods giving error message

the method getsomething() undefined type foo

unlike other stackoverflow questions, this, experiencing issue despite fact have updated eclipse.ini, , added lombok.jar same directory eclipse.exe , eclipse.ini file. eclipse.ini changes made no difference though, 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 project > clean, have tried using total path lombok jar, have exited , restarted eclipse no avail.

what missing here? help!!!

i experienced issue because lombok version project used, 0.9.3, not supported in eclipse luna. have upgraded version 1.14.8 , working expected.

see how configure lombok in eclipse luna more information.

java eclipse maven lombok

No comments:

Post a Comment