java.lang.LinkageError: loader (instance of sun/misc/Launcher$AppClassLoader): attempted duplicate class definition for name: "org/slf4j/impl/StaticLoggerBinder"

GitHub | gleeb | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Kamon 0.6.2 collision with PlayLogback

    GitHub | 5 months ago | gleeb
    java.lang.LinkageError: loader (instance of sun/misc/Launcher$AppClassLoader): attempted duplicate class definition for name: "org/slf4j/impl/StaticLoggerBinder"
  2. 0

    [2.5.x] LinkageError when using AspectJ as JavaAgent with sbt stage generated bin script

    GitHub | 11 months ago | el-dom
    java.lang.LinkageError: loader (instance of sun/misc/Launcher$AppClassLoader): attempted duplicate class definition for name: "org/slf4j/LoggerFactory"
  3. 0

    missing default Logger configuration

    GitHub | 8 months ago | mirkof
    java.lang.LinkageError: loader (instance of sun/misc/Launcher$AppClassLoader): attempted duplicate class definition for name: "org/slf4j/impl/StaticLoggerBinder"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Play [2.5.2] attempted duplicate class definition for name: "org/slf4j/impl/StaticLoggerBinder"

    Google Groups | 7 months ago | Manoj Santhakumaran
    java.lang.LinkageError: loader (instance of sun/ misc/Launcher$AppClassLoader): attempted duplicate class definition for name: "org/slf4j/impl/StaticLoggerBinder"
  6. 0

    Linkage error in JMockit 1.12

    GitHub | 2 years ago | svenwaibel
    java.lang.LinkageError: loader (instance of sun/misc/Launcher$AppClassLoader): attempted duplicate class definition for name: "..../ToTest$1"

    7 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 (instance of sun/misc/Launcher$AppClassLoader): attempted duplicate class definition for name: "org/slf4j/impl/StaticLoggerBinder"

      at java.lang.ClassLoader.defineClass1()
    2. Java RT
      ClassLoader.loadClass
      1. java.lang.ClassLoader.defineClass1(Native Method)
      2. java.lang.ClassLoader.defineClass(ClassLoader.java:760)
      3. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
      4. java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
      5. java.net.URLClassLoader.access$100(URLClassLoader.java:73)
      6. java.net.URLClassLoader$1.run(URLClassLoader.java:368)
      7. java.net.URLClassLoader$1.run(URLClassLoader.java:362)
      8. java.security.AccessController.doPrivileged(Native Method)
      9. java.net.URLClassLoader.findClass(URLClassLoader.java:361)
      10. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      11. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
      12. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      12 frames
    3. play.api.libs
      LogbackLoggerConfigurator.configure
      1. play.api.libs.logback.LogbackLoggerConfigurator.configure(LogbackLoggerConfigurator.scala:80)
      2. play.api.libs.logback.LogbackLoggerConfigurator.configure(LogbackLoggerConfigurator.scala:62)
      2 frames
    4. Play
      GuiceApplicationBuilder$$anonfun$applicationModule$1.apply
      1. play.api.inject.guice.GuiceApplicationBuilder$$anonfun$applicationModule$1.apply(GuiceApplicationBuilder.scala:102)
      2. play.api.inject.guice.GuiceApplicationBuilder$$anonfun$applicationModule$1.apply(GuiceApplicationBuilder.scala:102)
      2 frames
    5. Scala
      Option.foreach
      1. scala.Option.foreach(Option.scala:257)
      1 frame
    6. Play
      GuiceApplicationLoader.load
      1. play.api.inject.guice.GuiceApplicationBuilder.applicationModule(GuiceApplicationBuilder.scala:101)
      2. play.api.inject.guice.GuiceBuilder.injector(GuiceInjectorBuilder.scala:181)
      3. play.api.inject.guice.GuiceApplicationBuilder.build(GuiceApplicationBuilder.scala:123)
      4. play.api.inject.guice.GuiceApplicationLoader.load(GuiceApplicationLoader.scala:21)
      4 frames
    7. Play Server
      ProdServerStart.main
      1. play.core.server.ProdServerStart$.start(ProdServerStart.scala:47)
      2. play.core.server.ProdServerStart$.main(ProdServerStart.scala:22)
      3. play.core.server.ProdServerStart.main(ProdServerStart.scala)
      3 frames