I am struggling recently with very strange issue. Suddenly, my intellij IDEA stopped resolving all java import statements.
The only solution that worked so far for me was to uninstall intellij IDEA and install it again. Although, when I import one of my projects upon ~4 hours it cannot resolve any import statement again. This happes only for that one project. It is Eclipse RCP based.
Unfortunatelly, I cannot share with you the source codes of that project.
What I have already tried is the following:
- Remove .idea folder
- Remove all *.iml files
- Invalidate and restart
None of this works for me. When I create project from the scratch it also tells me that import statements cannot be resolved
My intellij IDEA version: 2019.1 Ultimate
It cannot event resolve base classes like String
My SDK is set up properly
Thank you for your help.