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
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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
      Constructor.newInstance
      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. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
      12. java.lang.ClassLoader.loadClass(ClassLoader.java:356)
      13. java.lang.Class.getDeclaredFields0(Native Method)
      14. java.lang.Class.privateGetDeclaredFields(Class.java:2308)
      15. java.lang.Class.getDeclaredFields(Class.java:1760)
      16. java.lang.reflect.Constructor.newInstance(Constructor.java:525)
      16 frames