I can build the maven project but still editor shows red lines

I have a peculiar problem where I imported a maven project (rpeated the experience multiple times) and the project can be build inside the IDE using the maven view in the right by choosing install and hitting the run button also the project can be build outside the IDE using mvn clean install; problem is that in some source window the editor shows some of the class names in red and says that "cannot resolve Sympol ClassB". And that prevents having code complete or anythning on those classes.

Does anyone know how to overcome this problem? I am using IntelliJ 132.839 (latest EAP).


1 comment
Comment actions Permalink


Could you post pom.xml dependency definition, that links those "not resolved" classes to classes opened in the editor?

Thank you,


Please sign in to leave a comment.