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 (EAP)
    • 6.x
    • 7.x
  • Red Hat Single Sign-On
    • 7.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