java.lang.NoClassDefFoundError

org/hibernate/test/bytecode/enhancement/lazy/basic/LazyBasicFieldAccessTestTask$Entity

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web19466

  • via Hibernate JIRA by Andrei Ivanov, 11 months 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
  • org/hibernate/bytecode/cglib/BytecodeProviderImpl
  • Stack trace

    • java.lang.NoClassDefFoundError: org/hibernate/test/bytecode/enhancement/lazy/basic/LazyBasicFieldAccessTestTask$Entity 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.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.hibernate.testing.junit4.ExtendedFrameworkMethod.invokeExplosively(ExtendedFrameworkMethod.java:45) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74) Caused by: java.lang.ClassNotFoundException: org.hibernate.test.bytecode.enhancement.lazy.basic.LazyBasicFieldAccessTestTask$Entity not found at org.hibernate.test.bytecode.enhancement.EnhancerTestUtils$1.loadClass(EnhancerTestUtils.java:160) ... 16 more Caused by: 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) ... 16 more

    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

    Unknown user
    2 times, 5 months ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 10 months ago
    68 more bugmates