abekmuratov
abekmuratov

Reputation: 211

Cannot resolve symbol. Maven dependencies are in place but code is in red

I imported project from gitHub https://github.com/eugenp/spring-security-registration. It is maven based project for user management services using spring security.

I have done several times clean, install, site and reimported all dependencies. Everything is success, but my classes in red. When I enter "ALT+ENTER" it says, Add library to classpath. My IDE is Intellij

enter image description here

Upvotes: 4

Views: 3782

Answers (1)

abekmuratov
abekmuratov

Reputation: 211

I clicked File->Invalidate caches/restart and it solved my problem. Did not realise about this feature

Upvotes: 4

Related Questions