ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl cannot be cast to javax.xml.parsers.DocumentBuilderFactory
(Doc ID 2175492.1)
Last updated on JANUARY 23, 2024
Applies to:
Oracle WebLogic Server - Version 12.1.3.0.0 and laterInformation in this document applies to any platform.
Symptoms
The following error occurs on the WebLogic Server while deploying an application
java.lang.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl cannot be cast to javax.xml.parsers.DocumentBuilderFactory
at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:121)
at com.sun.xml.ws.util.xml.XmlUtil.newDocumentBuilderFactory(XmlUtil.java:380)
at com.sun.xml.ws.db.toplink.JAXBContextFactory.(JAXBContextFactory.java:211)
at java.lang.Class.forName0(Native Method)
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |