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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content