How to diagnose ClassNotFoundException / NoClassDefFoundError and other classloading issues in JBoss EAP 6 / 7 with Tattletale

Solution Verified - Updated -

Issue

  • How to diagnose ClassNotFoundException issues in JBoss EAP 6.x?
  • How to diagnose NoClassDefFoundError issues in JBoss EAP 6.x?
  • How to diagnose classloading issues in JBoss EAP 6?
  • How to diagnose ClassCastException issues in JBoss EAP 6.x?
  • How to diagnose LinkageError issues in JBoss EAP 6.x?
  • How to diagnose NoSuchMethodError issues in JBoss EAP 6.x?
  • How to diagnose UnsupportedClassVersionError issues in JBoss EAP 6.x?
  • Our application is failing with a ClassNotFoundException :
...
Caused by: java.lang.ClassNotFoundException: com.jboss.examples.MyClass from [Module "deployment.application.war:main" from Service Module Loader]
...
  • Application is unresponsive. While hitting with request , the application is responding with connection timed out . When we are removing our xfire-all-1.2.6.jar the application is working fine but as soon as we again add the mentioned jar it again shows the same response that is connection timed out.
49 00:06:47,820 ERROR [stderr] (http-/10.10.10.74:80-1) Caused by: java.lang.NoSuchMethodException: com.abc.jkl.xyz.ClassMap()

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.