How to create custom Modules in JBoss EAP

Solution Verified - Updated -


  • While running an EJB application, we see this exception:

    java.lang.NoClassDefFoundError: Could not initialize class example.class.path.MissingClass
  • How can I create custom module with an external JAR.

  • How can I load shared libraries from a shared location?
  • What is the best practice concerning 3rd party libraries?


  • Red Hat JBoss Enterprise Application Platform (JBoss EAP)
    • 6
    • 7
  • Red Hat Single Sign-On 7

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