But this move seems to me this wrong way. After reading other project is this one, then open the file .classpath compare two projects next, it really is different, .classpath file the item in question is not " org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER. "This part of this line is copied to the project in question, reload the project, OK the.
- <classpath>
- <classpathentry kind="src" output="target/classes" path="src/main/java"/>
- <classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.7.0_45"/>
- <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"/>
- <classpathentry kind="output" path="target/classes"/>
- </classpath>