Reputation: 431
I tried all the solutions given here on Stackoverflow regarding the same but it still won't work. Eclipse still shows compile errors on getter/setters. Steps i followed.
My eclipse.ini file entries are as below:
-vm
/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/bin
-vmargs
........
..........
-javaagent:../Eclipse/lombok.jar
Location of eclipse file is as below:
/Users/vishal/jee-mars/Eclipse.app/Contents/Eclipse/eclipse.ini
Is there anything I am missing? Thanks!!
Upvotes: 1
Views: 7073
Reputation: 1
I tried a lot of possible methods , Downloading lombak jar from https://projectlombok.org/ helped other than downloading from Maven . and follow the above suggested installation methods .
Upvotes: 0
Reputation: 4897
Execute on terminal
java -jar lombok.jar
After that, a window will open and you can follow the process to configure your lombok.
Upvotes: -1
Reputation: 11862
Solution for Macbook:
Step 1 edit /Applications/Eclipse.app/Contents/Eclipse/eclipse.ini with
-Xbootclasspath/a:lombok.jar
-javaagent:lombok.jar
just after
-vmargs
Step 2 paste lombok.jar
to /Applications/Eclipse.app/Contents/MacOS/
Step 3 After Eclipse restart: project > clean
Upvotes: 10