java.lang.ClassCastException: org.apache.xerces.jaxp.SAXParserFactoryImpl Some people told me to put some jar files in <ORACLE_HOME>/jdk/jre/lib Those jars are : xalan-2.6.0.jar xerces-2.4.0.jar xercesImpl-2.8.1.jar xmlParserAPIs-2.6.2.jar But after I´ve copied thos dependencies my app deployment process gets the following error : Caught exception while loading file struts-default.xml - [unknown location]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 633629, 1 year ago
org.apache.xerces.jaxp.SAXParserFactoryImpl Some people told me to put some jar files in <ORACLE_HOME>/jdk/jre/lib Those jars are : xalan-2.6.0.jar xerces-2.4.0.jar xercesImpl-2.8.1.jar xmlParserAPIs-2.6.2.jar But after I´ve copied thos dependencies
java.lang.ClassCastException: org.apache.xerces.jaxp.SAXParserFactoryImpl Some people told me to put some jar files in <ORACLE_HOME>/jdk/jre/lib Those jars are : xalan-2.6.0.jar xerces-2.4.0.jar xercesImpl-2.8.1.jar xmlParserAPIs-2.6.2.jar But after I´ve copied thos dependencies my app deployment process gets the following error : Caught exception while loading file struts-default.xml - [unknown location]
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:839)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments(XmlConfigurationProvider.java:131)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:100)
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:130)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:395)
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:452)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.