I have eclipse version: "Mars Release (4.5.0)"
I have downloaded latest lombok jar from: https://projectlombok.org/download.html
I executed:
java -jar lombok.jar install $eclipseDir
After this I can see lombok.jar in my eclipse directory and eclipse.ini.
Restarted eclipse with: eclipse -clean
But still lombok is not working for me.
Eclipse 2020-12 (Eclipse 2020-12 Java) does not support Lombok. It runs fine, but the IDE shows errors for all Lombok generates getters/setters. The previous version of Eclipse work fine. You have to install lombok on your installation, otherwise Eclipse will not be able to handle the Lombok-Annotations.
Via eclipse plugin installerYou can install lombok directly from within eclipse, and in that way, you can also include lombok as part of your team eclipse deployment configuration.
I had the same problem. What helped was:
If it will not help, try again from point 1. (I know it sounds stupid but it worked on my PC on second try.)
Also, I'm using Lombok version 1.16.4 (and Eclipse Mars of course)
BTW: Make sure that you have lombok.jar in the eclipse directory.
I have solved the same problem, here are my steps
I think that should work.
I was facing the same issue in Eclipse Neon.2 and in STS 3.8.3 the solution was
Download the Lombok jar from https://projectlombok.org/download.html
Execute java -jar lombok.jar
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With