Getting ClassNotFoundException in JBoss Portal 6.1

Solution Verified - Updated -


  • Getting below exception.
Caused by: java.lang.ClassNotFoundException: from [Module "org.apache.commons.fileupload:main" from local module loader @379e6292 (finder: local module finder @7f597bc4 (roots: /$JPP_HOME/modules,/$JPP_HOME/modules/system/layers/gatein,/$JPP_HOME/modules/system/layers/base))]
    at org.jboss.modules.ModuleClassLoader.findClass( [jboss-modules.jar:1.2.2.Final-redhat-1]
    at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked( [jboss-modules.jar:1.2.2.Final-redhat-1]
    at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked( [jboss-modules.jar:1.2.2.Final-redhat-1]
    at org.jboss.modules.ConcurrentClassLoader.performLoadClass( [jboss-modules.jar:1.2.2.Final-redhat-1]
    at org.jboss.modules.ConcurrentClassLoader.loadClass( [jboss-modules.jar:1.2.2.Final-redhat-1]
    ... 139 more
  • Encountering NoClassDefFoundError even when jar file is included inJPP 6


  • Red Hat JBoss Portal (JPP)
    • 6.1.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