I just installed and re-installed IntelliJ. Every Java file is coming up RED. I checked the JDK; it is at 1.6.##. The maven clean install
build worked just fine
I had the same problem.
In my case the problem was with maven home directory
and user settings file
in Intellij Settings under Maven. I had installed Maven not in the default directory and I had also changed the location of the settings.xml
file. This should also be changed in the IntelliJ Settings.
Hope this helps also.