Running eclipse from the desktop sometimes is unable to load the . ini file, hence lombok won't run. So, try running the eclipse from the folder where you have installed it.
How do I get Lombok to work in eclipse?
Adding the Lombok Plugin in IDE (Eclipse)
- Copy lombok. jar into Eclipse. app/Contents/MacOS directory.
- Add -javaagent:lombok. jar to the end of Eclipse. app/Contents/Eclipse/eclipse. ini file.
- Restart Eclipse and enable “Annotation Processing” in project properties as shown in below image.
What's wrong with Lombok?
One potential disadvantage to something like Lombok is that with the setters/getters "missing", source tools may not "recognize" aspects of the resulting object that give it "bean" qualities, since those qualities only manifest in the compiled class.