Cannot resolve symbol really annoying
已回答
When on a git branch I remove some classes, then I switch another branch I get this error because Intellij cannot find removed class of the previous branch.
I then do all of this stuff:
- Rebuild project
- mvn clean install
- Invalidate caches / Restart
But project still doesn't compile when I run some JUnit test. I'm very disappointed
请先登录再写评论。
Hello,
Could you please provide some screemshots to clarify what symbols are not resolved?
Intellij didn't find some java classes that existed on project.
Finally had to remove .idea folder so all things back to normal
Do you face the issue again after removing .idea folder and switching branches? We have related issue on YouTrack: https://youtrack.jetbrains.com/issue/IDEA-116600