After upgrade to IntelliJ Ultimate 2019.2.1 Lombok annotation support seems broken
Answered
I upgraded the lombok plugin along with IntelliJ, and now all the lombok annotations appear unrecognized. Annotation processing is still enabled, just compared my settings to co-worker (who's running older IntelliJ, lombok still working) and don't see any difference.
Please sign in to leave a comment.
Hmm, actually this might have been caused by upgrading the lombok plugin, which I did at the same time. Just rolled back IntelliJ to 2019.2 and still seeing the same issue...
Please report at https://github.com/mplushnikov/lombok-intellij-plugin/issues .
Closing this issue - found the solution, was related to the gradle lombok plugin and the intellij lombok plugin, now seems I have to include lombok in my main gradle dependencies list whereas before the intellij lombok plugin found lombok without that entry.
Hi David Stelter,
We are running into the similar issue with 2019.2 when we run the code we are getting "Lombok annotations do not find". I dint understand your statement "now seems I have to include lombok in my main gradle dependencies list whereas before the intellij lombok plugin found lombok without that entry"
Mine is maven project any help is very much appreciated.
Hello Chaitu,
My solution may not apply to your situation. I was getting lombok included as a dependency in my project by a gradle plugin rather than as an explicit dependency listed in the dependencies section of the build.gradle file. After the upgrade, IntelliJ's lombok plugin couldn't find lombok in my project any more, but once I added it to the dependencies section in build.gradle it could. Standalone build on the shell using gradle directly still worked the whole time, so the jar was in my build, just IntelliJ's lombok plugin couldn't find it.
Hello David,
Thank you very much for sharing the details.
Try upgrading your lombok version to latest one.
Hello!
I deleted .gradle and .idea directories and reimport project. Now all the lombok annotations are OK.