Reputation: 2550
I'm using Lombok version 1.16.16, with Lombok plugin 0.23-2018.3 & IntelliJ IDEA 183.4886.37. I've used Lombok in a personal project where everything works as it should. I recently cloned a work repository which is a project with many about half a dozen sub-modules, each with their own pom.xml
and *.iml
file. My colleague does not have any issues.
When I open a class which is annotated with @Slf4j
, I see this in all methods of my logger:
The application compiles fine and when I hit that method it logs successfully to the console. Annotation processing is enabled, also. This is fine but it's very inconvenient not being able to use IntelliSense.
How can I resolve this?
Upvotes: 2
Views: 201
Reputation: 2550
It turned out to be IntelliJ being a prima donna. Invalidating my caches and restarting fixed the issue.
File > Invalidate Caches / Restart
Upvotes: 2