Uploaded image for project: 'Spring Tool Suite'
  1. Spring Tool Suite
  2. STS-3443

Maven Update Project fails on Kepler after installing Spring IDE Core

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.0.RC1, 3.3.0.RELEASE
    • 3.3.0.RELEASE
    • MAVEN
    • Eclipse IDE for Java Developers
      Version: Kepler Release. Build id: 20130614-0229
      Spring IDE Core 3.3.0.201306262018-CI-B489

    Description

      After installing Spring IDE Core on a fresh Kepler install, Maven -> Update project fails with the following exception:

      013-06-27 20:55:40,213 [Worker-6] INFO o.e.m.c.i.p.ProjectConfigurationManager - Update started
      2013-06-27 20:55:40,821 [Worker-6] INFO o.e.m.c.i.l.LifecycleMappingFactory - Using org.eclipse.m2e.jdt.JarLifecycleMapping lifecycle mapping for MavenProject: com.ariatemplates.samples:com.ariatemplates.samples.webapp:0.0.1-SNAPSHOT @ /Users/assen/Developer/Workspaces/amadeus/com.ariatemplates.samples.webapp/pom.xml.
      2013-06-27 20:55:40,987 [Worker-6] INFO o.e.m.j.i.AbstractJavaProjectConfigurator - Adding source folder /com.ariatemplates.samples.webapp/src/main/java
      2013-06-27 20:55:40,987 [Worker-6] INFO o.e.m.j.i.AbstractJavaProjectConfigurator - Adding resource folder /com.ariatemplates.samples.webapp/src/main/resources
      2013-06-27 20:55:40,988 [Worker-6] INFO o.e.m.j.i.AbstractJavaProjectConfigurator - Adding source folder /com.ariatemplates.samples.webapp/src/test/java

      !ENTRY org.eclipse.core.jobs 4 2 2013-06-27 20:55:41.074
      !MESSAGE An internal error occurred during: "Updating Maven Project".
      !STACK 0
      java.lang.LinkageError: loader constraint violation: loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) previously initiated loading for a different type with name "org/apache/maven/project/MavenProject"
      at org.springframework.ide.eclipse.maven.internal.core.SpringProjectConfigurator.doConfigure(SpringProjectConfigurator.java:42)
      at org.springframework.ide.eclipse.maven.AbstractSpringProjectConfigurator.configure(AbstractSpringProjectConfigurator.java:43)
      at org.eclipse.m2e.core.project.configurator.AbstractLifecycleMapping.configure(AbstractLifecycleMapping.java:109)
      at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$3.call(ProjectConfigurationManager.java:472)
      at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$3.call(ProjectConfigurationManager.java:1)
      at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:161)
      at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:137)
      at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.updateProjectConfiguration(ProjectConfigurationManager.java:465)
      at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.updateProjectConfiguration0(ProjectConfigurationManager.java:403)
      at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$2.call(ProjectConfigurationManager.java:316)
      at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$2.call(ProjectConfigurationManager.java:1)
      at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:161)
      at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:137)
      at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:89)
      at org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:1301)
      at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.updateProjectConfiguration(ProjectConfigurationManager.java:313)
      at org.eclipse.m2e.core.ui.internal.UpdateMavenProjectJob.runInWorkspace(UpdateMavenProjectJob.java:77)
      at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

      Attachments

        Activity

          People

            mlippert Martin Lippert
            assen.sharlandjiev Assen Sharlandjiev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: