Why we get NoClassDefFoundError ?

Solution Verified - Updated -

Issue

  •     What is the difference between    $JBOSS_HOME\common\lib, $JBOSS_HOME\server\lib, $PROFILE\lib and $WebApplication\WEB-INF\lib

  •     If a Jar is placed in all the above locations then in which order the JBoss Searches them.

  •     Why we get NoClassDefFoundError If we have a WAR file?

Environment

JBoss Enterprise Application Platform (EAP) 5.x

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