Lombok Not working in IntelliJ even after everything seems fine.
Lombok plugin installed, annotation processing enabled, added dependency, still not working
If lombok was working fine, and suddenly stopped working on some project (new projects maybe), try these steps:
Lombok plugin installed, annotation processing enabled, added dependency, still lombok not working:
Go to File > Project Structure > Libraries,
Search for lombok library and find location (on right) where library is present on your pc
Go the org directory and delete project lombok folder
Make sure lombok dependency has version in it
Finally, go to File > Settings > Compiler > Annotation Processors
Make sure to Enable Annotation Processing for YourProjectName Profile (EmailConsumer in my case), and Obtain Processor from classpath option is selcted.
Save this setting so that lombok files are taken from our specified version (in pom.xml).
Did this worked for you? Please let me know.