java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/ejb/embeddable/EJBContainer

Oracle Community | mrbhill | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Unit test initialization error

    Oracle Community | 5 years ago | mrbhill
    java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/ejb/embeddable/EJBContainer

    Root Cause Analysis

    1. java.lang.ClassFormatError

      Absent Code attribute in method that is not native or abstract in class file javax/ejb/embeddable/EJBContainer

      at java.lang.ClassLoader.defineClass1()
    2. Java RT
      Class.getDeclaredFields0
      1. java.lang.ClassLoader.defineClass1(Native Method)
      2. java.lang.ClassLoader.defineClass(ClassLoader.java:791)
      3. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
      4. java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
      5. java.net.URLClassLoader.access$100(URLClassLoader.java:71)
      6. java.net.URLClassLoader$1.run(URLClassLoader.java:361)
      7. java.net.URLClassLoader$1.run(URLClassLoader.java:355)
      8. java.security.AccessController.doPrivileged(Native Method)
      9. java.net.URLClassLoader.findClass(URLClassLoader.java:354)
      10. java.lang.ClassLoader.loadClass(ClassLoader.java:423)
      11. java.lang.ClassLoader.defineClass(ClassLoader.java:791)
      12. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
      13. java.lang.ClassLoader.loadClass(ClassLoader.java:356)
      14. java.lang.Class.getDeclaredFields0(Native Method)
      14 frames