| Summary: | Checkout as Maven Project fails at importing project | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Frank Jakop <frank.jakop> | ||||||
| Component: | m2e | Assignee: | Project Inbox <m2e.core-inbox> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | igor, jwnmulder | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Frank Jakop
Created attachment 200419 [details]
screenshot of error message
please attach your eclipse installation configuration details (about-eclipse->installation-detatils->configuration) Created attachment 200423 [details]
eclipse configuration details
Same here. It happens when importing maven projects using 'Existing Maven Projects' and the option 'Hide folders of physically nested modules' is enabled. Version: 1.0.100.201108010903 Stacktrace: ava.lang.NoSuchMethodError: org.osgi.framework.Version.compareTo(Lorg/osgi/framework/Version;)I at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.hideNestedProjectsFromParents(ProjectConfigurationManager.java:179) at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.importProjects(ProjectConfigurationManager.java:150) at org.eclipse.m2e.core.ui.internal.wizards.MavenImportWizard$1.doCreateMavenProjects(MavenImportWizard.java:164) at org.eclipse.m2e.core.ui.internal.wizards.AbstractCreateMavenProjectsOperation.run(AbstractCreateMavenProjectsOperation.java:73) at org.eclipse.m2e.core.ui.internal.wizards.MavenImportWizard$3.runInWorkspace(MavenImportWizard.java:249) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Fixed. http://git.eclipse.org/c/m2e/m2e-core.git/commit/?id=e322d67bdd77b611c67c7c153f02db1c9909a0a2 As a side note, offending code was there for very long time, so the problem is most likely caused by incompatibility between code compiled against version of osgi framework included in eclipse 3.7 and earlier eclipse version. |