Idea 2020.1 can not see project classes

已回答

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".

0

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

请先登录再写评论。