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, 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