SAXParserClassNotFound issue in hot delpoy

Solution Verified - Updated -

Issue

  • When hot deploy ear in JBoss EAP HA, error shows: "java.lang.ClassNotFoundException: Class not found: com.sun.org.apache.xerces.internal.parsers.SAXParser"
2015-02-02 16:42:44,816 INFO  [STDOUT] (work-thread) Warning: Caught exception attempting to use SAX to load a SAX XMLReader
2015-02-02 16:42:44,819 INFO  [STDOUT] (work-thread) Warning: Exception was: java.lang.ClassNotFoundException: Class not found: com.sun.org.apache.xerces.internal.parsers.SAXParser
2015-02-02 16:42:44,820 INFO  [STDOUT] (work-thread) Warning: I will print the stack trace then carry on using the default SAX parser
2015-02-02 16:42:44,820 ERROR [STDERR] (work-thread) java.lang.ClassNotFoundException: Class not found: com.sun.org.apache.xerces.internal.parsers.SAXParser

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 5.2.0

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.