java.lang.LinkageError: Class com/tc/logging/LogLevel violates loader constraints

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

Solutions on the web

via Terracotta by ramin, 1 year ago
Class com/tc/logging/LogLevel violates loader constraints
via apache.org by Unknown author, 1 year ago
duplicate class definition: com/ubikingenierie/bug/ClassLoadedDynamically
via Oracle Community by 843830, 1 year ago
Class com.greenhouse.blah.Plant loader constraints
via Oracle Community by 527044, 1 year ago
Class com.greenhouse.blah.Plant loader constraints
via maven-users by Henrik Eriksson, 1 year ago
loader constraint violation: loader (instance >>> of sun/misc/Launcher$AppClassLoader) previously initiated loading for a different type wit h name "com/sun/tools/javac/code/Symbol"
java.lang.LinkageError: Class com/tc/logging/LogLevel violates loader constraints
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at com.tc.properties.TCPropertiesImpl$LogBuffer$Entry.(TCPropertiesImpl.java:311)
at com.tc.properties.TCPropertiesImpl$LogBuffer.addLog(TCPropertiesImpl.java:264)
at com.tc.properties.TCPropertiesImpl.loadDefaults(TCPropertiesImpl.java:169)
at com.tc.properties.TCPropertiesImpl.(TCPropertiesImpl.java:57)
at com.tc.properties.TCPropertiesImpl.(TCPropertiesImpl.java:51)
at com.tc.management.AbstractTerracottaMBean.(AbstractTerracottaMBean.java:36)
at com.tc.logging.JMXAppender.(JMXAppender.java:28)
at com.tc.logging.TCLogging.(TCLogging.java:413)
at com.tc.logging.CustomerLogging.getConsoleLogger(CustomerLogging.java:23)
at com.tc.object.tools.BootJarTool.(BootJarTool.java:221)

Users with the same issue

2 times, 2 months ago
44 times, 4 months ago
4 times, 7 months ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago

Write tip

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