Why am I getting a "ClassFormatError: Absent Code attribute in method that is not native or abstract" exception in JBoss?

Solution Verified - Updated -

Issue

We are seeing the following error when deploying our application. What does it mean and how do I fix it?

java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/el/ExpressionFactory
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)

Environment

  • JBoss Enterprise Application Platform (EAP)
  • Java Application

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.