0
votes

I have a problem with IntelliJ Idea 2020.1 Ultimate Edition. It shows Lombok and Spring annotations and imports in red. The project compiles, I can run tests. I did some googling. I tried to reimport maven projects and go to File->Invalidate Caches/Restart. Then I deleted Idea system directory - it does not help. Before it worked fine, I do not know why it started doing this. Can somebody help me out? red imports

1
Do you have Lombok plug-in installed? If the issue persists, please provide the Minimal, Complete, and Verifiable example.CrazyCoder
I have Lombok plugin installed. How can I provide a Verifiable example of an IDEA glitch? I have no idea how to reproduce it exactly like that on other machine. If I give you a piece of code, most likely it will work fine in your IDEYulia
Delete .idea directory from the project, reimport the project from Gradle/Maven. If it doesn't help, share the logs (Help | Collect Logs and Diagnostic Data). It may be better to proceed at youtrack.jetbrains.com/newIssue?project=IDEA where you can share the files privately with JetBrains team.CrazyCoder

1 Answers

0
votes

I am not sure it is a correct solution, but it worked for me. I just reinstalled IDEA. It was faster that talk to IDEA support trying to figure out what is the cause of the issue