problem Phenomenon
A bunch of Red fork, looking really "pleasing", at the same time, F3 shortcut keys also expired. It's completely impossible to develop. Ha ha
Problem Analysis
I tried F5 refresh the project, the problem remains. The Project->clean problem remains. Maven->update project problem remains. and other operations. Finally, replace the. classpath file for this project with another project's. Classpath.
workaround Modify the. classpath file for the project and replace it with the content.
<?xml version= "1.0" encoding= "UTF-8"?> <classpath> <classpathentry kind= "src" output= "target/classes" Path= Src/main/java > <attributes> <attribute name= "optional" value= "true"/> <attribute name= "Ma Ven.pomderived "value=" true "/> </attributes> </classpathentry> <classpathentry excluding=" * * "kind = "src" output= "target/classes" path= "src/main/resources" > <attributes> <attribute name= " Maven.pomderived "value=" true "/> </attributes> </classpathentry> <classpathentry kind=" src "output
= "Target/test-classes" path= "Src/test/java" > <attributes> <attribute name= "optional" value= "true"/> <attribute name= "maven.pomderived" value= "true"/> </attributes> </classpathentry> < Classpathentry kind= "Con" path= "Org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER" > <attributes> <attribute Name= "maven.pomderived" value= "true"/> <attribute name= "ORg.eclipse.jst.component.dependency "value="/web-inf/lib "/> </attributes> </classpathentry> < Classpathentry kind= "Con" path= "com.genuitec.runtime.library/com.genuitec.generic_5.0"/> <classpathentry Kind= "Con" path= "Org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind= "Output" path= "target/
Classes "/> </classpath>
Then refresh the project and there's no more annoying red xx.