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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Terracotta by monzonj, 1 year ago
" 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
via terracotta.org by Unknown author, 1 year ago
;)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
via Terracotta by bryancjacobs, 1 year ago
loader constraints violated when linking com/tc/object/config/LockDefinition class
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(BootJarTool.java:419)
at com.tc.object.tools.BootJarTool.main(BootJarTool.java:2606)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.