java.lang.LinkageError: loader (instance of org/mortbay/jetty/webapp/ > WebAppClassLoader): attempted duplicate class definition for name: > "test/repository/Repository$$FastClassByCGLIB$$415eb518"


Solutions on the web392

Solution icon of googlegroups
via Google Groups by francisc...@gmail.com, 1 year ago
loader (instance of org/mortbay/jetty/webapp/ WebAppClassLoader): attempted duplicate class definition for name: "test/repository/Repository$$FastClassByCGLIB$$415eb518"

Solution icon of github
loader (instance of org/eclipse/jetty/webapp/WebAppClassLoader): attempted duplicate class definition for name: "org/apache/wicket/jmx/Application"

Solution icon of stackoverflow
via Stack Overflow by javagc
, 1 year ago
loader (instance of org/glassfish/web/loader/WebappClassLoader): attempted duplicate class definition for name: "org/glassfish/web/loader/JdbcLeakPrevention"

Solution icon of github
loader (instance of org/glassfish/web/loader/WebappClassLoader): attempted duplicate class definition for name: "org/glassfish/web/loader/JdbcLeakPrevention"

Solution icon of java
via Java.net JIRA by seaunicornislit, 1 year ago
loader (instance of org/glassfish/web/loader/WebappClassLoader): attempted duplicate class definition for name: "org/glassfish/web/loader/JdbcLeakPrevention"

Solution icon of apache
loader (instance of org/apache/catalina/loader/WebappClassLoader): attempted duplicate class definition for name: "org/apache/xml/serializer/ToXMLStream"

Solution icon of stackoverflow
loader (instance of org/apache/catalina/loader/WebappClassLoader): attempted duplicate class definition for name: "org/apache/openjpa/persistence/osgi/BundleUtils"

Solution icon of web
via zkoss.org by Unknown author, 1 year ago
loader (instance of org/apache/catalina/loader/WebappClassLoader): attempted duplicate class definition for name: "org/zkoss/spring/beans/zkcomponents/ZKComponentBeanMethods"

Solution icon of googlegroups
via Google Groups by John Krasnay, 9 months ago
loader (instance of org/apache/ catalina/loader/WebappClassLoader): attempted duplicate class definition for name: "org/apache/xerces/jaxp/SAXParserFactoryImpl"

Solution icon of github
loader (instance of org/apache/catalina/loader/WebappClassLoader): attempted duplicate class definition for name: "/common/dao/CategorySelectListDao__I"

Stack trace

java.lang.LinkageError: loader (instance of org/mortbay/jetty/webapp/
 > WebAppClassLoader): attempted duplicate class definition for name:
 > "test/repository/Repository$$FastClassByCGLIB$$415eb518"
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
	at java.lang.reflect.Method.invoke(Method.java:597)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
2 times, 1 year ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
44 times, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 2 months ago
41 more bugmates