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
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards 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
  2. 0

    jboss failed to define class javax.jms.JMSException

    Stack Overflow | 3 weeks ago | rickcoup
    java.lang.ClassFormatError: Failed to link javax/jms/JMSException (Module "xxx.ear.yyy.war:main" from Service Module Loader): Absent Code attribute in method that is not native or abstract in class file javax/jms/JMSException

    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