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
maven clean install
I face the same issue when upgraded Intellij version. It was resolved for me by using old maven than the one bundled with the new Intellij.