ClassNotFoundException on missing JSP Tag during war deployment on JBoss EAP 6

Solution Verified - Updated -

Issue

  • We see several ClassNotFoundException while EAP 6 is deploying our EAR. These are basically for the classes which are declared in TLDs but are not actually present in the Jars. The same EAR file doesn't give any exceptions with EAP 5.1. The main intention is to understand why it started happening in EAP 6 while it was not happening in EAP 5.1 for the same EAR. Can you identify any change in EAP 6 that could be cause of it. Also please let us know if there is any flag which can let EAP 6 ignore these exceptions.

Below is the error:

java.lang.ClassNotFoundException: com.jboss.examples.taglibs.ExampleTag

Below is the content in taglib:

<tag>
    <name>example</name>
    <tagclass>com.jboss.examples.taglibs.ExampleTag</tagclass>
    <bodycontent>empty</bodycontent>
    <attribute>
        <name>id</name>
        <required>false</required>
        <rtexprvalue>true</rtexprvalue>
    </attribute>
        ...
</tag>

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 6.0 - Beta

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