IntelliJ Idea lombok doesn't appear in intellisense

Hi,

My problem is that I have lombok used in my project and intellisense doesn't recoginze it's packages and annotations.

What I have done:

1. dependency added to maven pom.xml (jar appears in "External Libraries")

2. lombok plugin installed via "Settings -> Plugins -> Browse repositories"

3. "Enable annotation processing" enabled in "Settings -> Build, Execution, Deployment -> Compiler -> Annotation Processors"

4. IntelliJ Idea restart with invalidate cache

5. Project rebuilded

Strange thing is that project get's builded without any errors and works perfectly. I just can't see this package in IntelliJ and it's cumbersome,  because a lot of code is "red". My current IntelliJ IDEA version is 2017.3.1.

0
Avatar
Permanently deleted user

I've solved issue. The problem Was that IntelliJ Idea mistakenly created projects from my main project and they were in conflict. Under "File -> Project Structure" I had 5 different projects which were created from and they still were included in this one that was separate from them. All I had to do was to delete those wrong projects.

0

请先登录再写评论。