Cannot resolve symbol really annoying
Answered
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
Please sign in to leave a comment.
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