What I had to do was to install lombok
in the eclipse installation directory.
Download the lombok.jar
from here and then install it using the following command:
java -jar lombok.jar
After that make sure that the lombok.jar
is added in your build path. But make sure you don't add it twice by adding once through maven
or gradle
and once again in eclipse path.
After that clean
and build
the project again and see all the errors go away.