Summary: | Inconsistent information on classpath | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Tomasz Bartczak <kretes> | ||||
Component: | UI | Assignee: | JDT-UI-Inbox <jdt-ui-inbox> | ||||
Status: | RESOLVED NOT_ECLIPSE | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | daniel_megert | ||||
Version: | 3.4.2 | ||||||
Target Milestone: | --- | ||||||
Hardware: | PC | ||||||
OS: | Windows Vista | ||||||
Whiteboard: | |||||||
Attachments: |
|
This works fine for me on a Java project. What kind of project is this? well a 'composite' one. <natures> <nature>org.springframework.ide.eclipse.core.springnature</nature> <nature>org.eclipse.jdt.core.javanature</nature> <nature>org.maven.ide.eclipse.maven2Nature</nature> <nature>org.eclipse.wst.common.project.facet.core.nature</nature> <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature> <nature>org.eclipse.jem.workbench.JavaEMFNature</nature> <nature>org.eclipse.wst.jsdt.core.jsNature</nature> </natures> I think the problem is in the structure of my .classpath: <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 I don't know if it's an eclipse problem that allowed adding nested JRE or m2eclipse? Looks like m2eclipse. The Package Explorer and the Project Explorer work as expected for Java projects. |
Created attachment 138657 [details] screenshot of two inconsistent screens Build ID: M20090211-1700 Steps To Reproduce: I have a duplicate JRE in classpath, and what happens is that it is shown in the project properties | build path, but not shown in project explorer.