java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "com.tc.object.logging.InstrumentationLoggerImpl.autolockInserted(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/tc/object/config/LockDefinition;)V" the class loader (instance of sun/misc/Launcher$AppClassLoader) of the current class, com/tc/object/logging/InstrumentationLoggerImpl, and the class loader (instance of <bootloader>) for interface com/tc/object/logging/InstrumentationLogger have different Class objects for the type com/tc/object/config/LockDefinition used in the signature

Terracotta | monzonj | 8 years 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

    Module tim-spring-security-2.0 throws an exception

    Terracotta | 8 years ago | monzonj
    java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "com.tc.object.logging.InstrumentationLoggerImpl.autolockInserted(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/tc/object/config/LockDefinition;)V" the class loader (instance of sun/misc/Launcher$AppClassLoader) of the current class, com/tc/object/logging/InstrumentationLoggerImpl, and the class loader (instance of <bootloader>) for interface com/tc/object/logging/InstrumentationLogger have different Class objects for the type com/tc/object/config/LockDefinition used in the signature
  2. 0

    terracotta集群tomcat时遇到的问题(错误日志)

    terracotta.org | 1 year ago
    java.lang.LinkageError: loader constraint violation i n interface itable initialization: when resolving method "com.tc.object.bytecode .AQSSubclassStrongReferenceAdapter.create(Lcom/tc/asm/ClassVisitor;Ljava/lang/Cl assLoader;)Lcom/tc/asm/ClassAdapter;" the class loader (instance of sun/misc/Lau ncher$AppClassLoader) of the current class, com/tc/object/bytecode/AQSSubclassSt rongReferenceAdapter, and the class loader (instance of <bootloader>) for interf ace com/tc/object/bytecode/ClassAdapterFactory have different Class objects for the type com/tc/asm/ClassVisitor used in the signature at com.tc.object.config.StandardDSOClientConfigHelperImpl.addJDK15Instru mentedSpec(StandardDSOClientConfigHelperImpl.java:698) at com.tc.object.config.StandardDSOClientConfigHelperImpl.doAutoconfig(S tandardDSOClientConfigHelperImpl.java:565) at com.tc.object.config.StandardDSOClientConfigHelperImpl.<init>(Standar dDSOClientConfigHelperImpl.java:253)
  3. 0

    Get java.lang.LinkageError when sharing Tomcat HttpSession

    terracotta.org | 1 year ago
    java.lang.LinkageError: loader constraint violation i n interface itable initialization: when resolving method "com.tc.object.logging. InstrumentationLoggerImpl.autolockInserted(Ljava/lang/String;Ljava/lang/String;L java/lang/String;Lcom/tc/object/config/LockDefinition;)V" the class loader (inst ance of sun/misc/Launcher$AppClassLoader) of the current class, com/tc/object/lo gging/InstrumentationLoggerImpl, and the class loader (instance of <bootloader>) for interface com/tc/object/logging/InstrumentationLogger have different Class objects for the type com/tc/object/config/LockDefinition used in the signature
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    LinkageError

    Terracotta | 8 years ago | bryancjacobs
    java.lang.LinkageError: loader constraints violated when linking com/tc/object/config/LockDefinition class

    Root Cause Analysis

    1. java.lang.LinkageError

      loader constraint violation in interface itable initialization: when resolving method "com.tc.object.logging.InstrumentationLoggerImpl.autolockInserted(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/tc/object/config/LockDefinition;)V" the class loader (instance of sun/misc/Launcher$AppClassLoader) of the current class, com/tc/object/logging/InstrumentationLoggerImpl, and the class loader (instance of <bootloader>) for interface com/tc/object/logging/InstrumentationLogger have different Class objects for the type com/tc/object/config/LockDefinition used in the signature

      at com.tc.object.tools.BootJarTool.generateJar()
    2. com.tc.object
      BootJarTool.main
      1. com.tc.object.tools.BootJarTool.generateJar(BootJarTool.java:419)
      2. com.tc.object.tools.BootJarTool.main(BootJarTool.java:2606)
      2 frames