Today find themselves POM became red-orange.
The reason is unknown: see online 3 to 4 ways. I tried it will not change the method and the use of java jdk, and then solved.
In setting maven has several attributes.
1. Change the java jre environment
I do not know why, there are three sets of java environment on my computer.
Java idea was originally built environment. Later I changed java_home environment to solve the problem.
2. Update the remote repository program (does not work)
Program:
The actual situation: I did not even have this option
3. Click Add maven (small blue plus sign)
When introducing maven project idea, the file does not automatically recognize pom, it appears as a normal orange xml file.
Solution: Click on the far right of the sidebar, click the Add (little blue plus sign), select the files you import the project's pom.xml.
4. removed WORK_OFFLINR