Remove xercesImpl-2.8.1.jar from the application

According to the recommendation here: WAS 8.5: java.lang.ClassCastException: org.apache.xerces.jaxp.SAXParserFactoryImpl is incompatible with javax.xml.parsers.SAXParserFactory , I looked through all the banks and can not find xercesImpl-2.8.1.jar. I removed crimson_1.1.1.jar from my project, but that did not change the error (java.lang.ClassCastException: org.apache.xerces.jaxp.SAXParserFactoryImpl is not compatible with javax.xml.parsers.SAXParserFactory). I searched for this method (SAXParserFactoryImpl) and found it here: C: \ Program Files \ IBM \ IBMIMShared \ plugins \ org.apache.xerces_2.9.0.v200805270400.jar. Since this jar is part of the Websphere installation, how to remove it? Or is it necessary to upgrade with a newer version that eliminates this incompatibility?

0
source share
1 answer

, . crimson_1.1.1.jar ( ), SAXParserFactoryimpl. , : xercesimpl-2.8.0 xercesimpl-2.9.1. xercesimpl-2.8.0.jar, , commons-fileupload-1.2.jar. commons, , xercesimpl-2.8.0.jar. , crimson_1.1.1.jar xercesimpl-2.8.0.jar . EAR (EAR > > "" > "" ) PARENT_FIRST Classloader APPLICATION for WAR classloader. , , , , !

+1

All Articles