java.lang.LinkageError: loader constraint violation: loader (instance of org/eclipse/osgi/internal/loader/EquinoxClassLoader) previously initiated loading for a different type with name "com/google/inject/Binder"

GitHub | kenwenzel | 2 months ago
  1. 0

    [OSGi] Multibindings and AssistedInject JARs need version property for fragment host

    GitHub | 2 months ago | kenwenzel
    java.lang.LinkageError: loader constraint violation: loader (instance of org/eclipse/osgi/internal/loader/EquinoxClassLoader) previously initiated loading for a different type with name "com/google/inject/Binder"
  2. 0

    Loader Constraint Violation loading Antlr jar in Eclipse plugin built with Tycho

    Stack Overflow | 7 months ago | David M. Karr
    java.lang.LinkageError: loader constraint violation: loader (instance of org/eclipse/osgi/internal/loader/EquinoxClassLoader) previously initiated loading for a different type with name "org/antlr/v4/runtime/TokenStream"
  3. 0

    GitHub comment 908#238215443

    GitHub | 4 months ago | javierfernandes
    java.lang.LinkageError: loader constraint violation: loader (instance of org/eclipse/osgi/internal/loader/EquinoxClassLoader) previously initiated loading for a different type with name "net/sf/lipermi/net/Server"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    OSGI errors

    GitHub | 3 weeks ago | mjtapp
    java.lang.LinkageError: loader constraint violation: loader (instance of org/eclipse/osgi/internal/loader/EquinoxClassLoader) previously initiated loading for a different type with name "org/eclipse/core/commands/IHandler"
  6. 0

    Luna 4.4.2 Loader constraint violation: Equinox classloader fails to load org/antlr/v4/runtime/RecognitionException

    Eclipse Bugzilla | 2 years ago | laszlo.baji
    java.lang.LinkageError: loader constraint violation: loader (instance of org/eclipse/osgi/internal/loader/EquinoxClassLoader) previously initiated loading for a different type with name "org/antlr/v4/runtime/RecognitionException"

    19 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/loader/EquinoxClassLoader) previously initiated loading for a different type with name "com/google/inject/Binder"

      at java.lang.ClassLoader.defineClass1()
    2. Java RT
      ClassLoader.defineClass
      1. java.lang.ClassLoader.defineClass1(Native Method)
      2. java.lang.ClassLoader.defineClass(Unknown Source)
      2 frames
    3. Eclipse OSGi
      ModuleClassLoader.loadClass
      1. org.eclipse.osgi.internal.loader.ModuleClassLoader.defineClass(ModuleClassLoader.java:273)
      2. org.eclipse.osgi.internal.loader.classpath.ClasspathManager.defineClass(ClasspathManager.java:632)
      3. org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findClassImpl(ClasspathManager.java:586)
      4. org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClassImpl(ClasspathManager.java:538)
      5. org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:525)
      6. org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:325)
      7. org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:334)
      8. org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:411)
      9. org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:361)
      10. org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:353)
      11. org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
      11 frames
    4. Java RT
      ClassLoader.loadClass
      1. java.lang.ClassLoader.loadClass(Unknown Source)
      1 frame
    5. Google Guice - Extensions - MultiBindings
      Multibinder.newSetBinder
      1. com.google.inject.multibindings.Multibinder.newRealSetBinder(Multibinder.java:176)
      2. com.google.inject.multibindings.Multibinder.newSetBinder(Multibinder.java:132)
      2 frames