java.lang.NoClassDefFoundError: org/hibernate/test/bytecode/enhancement/lazy/basic/LazyBasicFieldAccessTestTask$Entity

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 Hibernate JIRA by Andrei Ivanov, 1 year ago
org/hibernate/test/bytecode/enhancement/lazy/basic/LazyBasicFieldAccessTestTask$Entity
via Hibernate JIRA by Andrei Ivanov, 1 year ago
org/hibernate/test/bytecode/enhancement/lazy/basic/LazyBasicFieldAccessTestTask$Entity
java.lang.ClassFormatError: Duplicate interface name in class file org/hibernate/test/bytecode/enhancement/lazy/basic/LazyBasicFieldAccessTestTask$Entity
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
at java.lang.ClassLoader.defineClass(ClassLoader.java:642)
at org.hibernate.test.bytecode.enhancement.EnhancerTestUtils$1.loadClass(EnhancerTestUtils.java:157)
at org.hibernate.test.bytecode.enhancement.lazy.basic.LazyBasicFieldAccessTestTask.getAnnotatedClasses(LazyBasicFieldAccessTestTask.java:40)
at org.hibernate.test.bytecode.enhancement.AbstractEnhancerTestTask.prepare(AbstractEnhancerTestTask.java:30)
at org.hibernate.test.bytecode.enhancement.lazy.basic.LazyBasicFieldAccessTestTask.prepare(LazyBasicFieldAccessTestTask.java:47)
at org.hibernate.test.bytecode.enhancement.EnhancerTestUtils.runEnhancerTestTask(EnhancerTestUtils.java:98)
at org.hibernate.test.bytecode.enhancement.EnhancerTest.testLazy(EnhancerTest.java:72)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)

Users with the same issue

3 times, 3 months ago
Once, 6 months ago
Once, 1 year ago
Once, 1 year ago
Once, 1 year ago

Write tip

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