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"

SpringSource Issue Tracker | Assen Sharlandjiev | 3 years ago
  1. 0

    [STS-3443] Maven Update Project fails on Kepler after installing Spring IDE Core - SpringSource Issue Tracker

    springsource.com | 11 months ago
    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"
  2. 0

    [STS-3443] Maven Update Project fails on Kepler after installing Spring IDE Core - SpringSource Issue Tracker

    springsource.com | 1 year ago
    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"
  3. 0

    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)

    SpringSource Issue Tracker | 3 years ago | Assen Sharlandjiev
    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"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    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)

    SpringSource Issue Tracker | 3 years ago | Assen Sharlandjiev
    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"

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. org.springframework.ide
      AbstractSpringProjectConfigurator.configure
      1. org.springframework.ide.eclipse.maven.internal.core.SpringProjectConfigurator.doConfigure(SpringProjectConfigurator.java:42)
      2. org.springframework.ide.eclipse.maven.AbstractSpringProjectConfigurator.configure(AbstractSpringProjectConfigurator.java:43)
      2 frames
    3. org.eclipse.m2e.core
      ProjectConfigurationManager.updateProjectConfiguration
      1. org.eclipse.m2e.core.project.configurator.AbstractLifecycleMapping.configure(AbstractLifecycleMapping.java:109)
      2. org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$3.call(ProjectConfigurationManager.java:472)
      3. org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$3.call(ProjectConfigurationManager.java:1)
      4. org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:161)
      5. org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:137)
      6. org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.updateProjectConfiguration(ProjectConfigurationManager.java:465)
      7. org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.updateProjectConfiguration0(ProjectConfigurationManager.java:403)
      8. org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$2.call(ProjectConfigurationManager.java:316)
      9. org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$2.call(ProjectConfigurationManager.java:1)
      10. org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:161)
      11. org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:137)
      12. org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:89)
      13. org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:1301)
      14. org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.updateProjectConfiguration(ProjectConfigurationManager.java:313)
      14 frames
    4. org.eclipse.m2e
      UpdateMavenProjectJob.runInWorkspace
      1. org.eclipse.m2e.core.ui.internal.UpdateMavenProjectJob.runInWorkspace(UpdateMavenProjectJob.java:77)
      1 frame
    5. Core Resource Management
      InternalWorkspaceJob.run
      1. org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
      1 frame
    6. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
      1 frame