Idea 2020.1 can not see project classes

Answered

The issue happens to me after I updated to Idea 2020.1 EAP.

Sometimes after I switch between branches with different dependencies (maven project),
Idea editor shows some project classes references as red as they are not found
though both `mvn compile` and `build project` (Ctlr+F9) button works perfectly.

The issue goes away if I "Restart and invalidate caches".

1 comment
Comment actions Permalink

Here is a related issue on YouTrack:

https://youtrack.jetbrains.com/issue/IDEA-220511

Feel free to watch it in order to be notified once it has updates. See [this article](https://intellij-support.jetbrains.com/hc/articles/207241135) if you are not familiar with YouTrack.

1

Please sign in to leave a comment.