Community
Participate
Working Groups
Build ID: M20090211-1700 It turned out that I've got two JRE in the project, while I didn't add the second manually. I have an error and .classpath looks like this: .. <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> </classpathentry> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> .. which shouldn't happen I assume.
Would you have steps to reproduce? Did you get the same issue with 3.5RC4?
I think the problem is with m2eclipse, as You can see in related https://bugs.eclipse.org/bugs/show_bug.cgi?id=279587 it is putting some bad markup in the.classpath file: <classpath> <classpathentry kind="src" output="target/classes" path="src/main/java"/> <classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/> <classpathentry excluding="**" kind="src" output="target/classes" path="src/main/config/WEB-INF"/> <classpathentry kind="src" output="target/test-classes" path="src/test/java"/> <classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"/> <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/> <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/> <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> </classpathentry> <classpathentry kind="output" path="target/classes"/> </classpath> look at the JRE_CONTAINER is inside MAVEN2_CLASSPATH_CONTAINER Or it can be on Eclipse's side, if there is an API for addJRELibrary or sth like this and it's not handled properly.
Closing as NOT_ECLIPSE. Please report the problem to m2eclipse. I would need more details from the m2eclipse team to find out how they set up the classpath container.
Verified for 3.6M1