Java.lang.ClassCastException:org.apache.xerces.parsers.XML11Configuration cannot is cast to Org.apache.xerces.xni.parser.XMLParserConfiguration
At Org.apache.axis.AxisFault.makeFault (axisfault.java:101)
At Org.apache.axis.client.AxisClient.invoke (axisclient.java:216)
At Org.apache.axis.client.Call.invokeEngine (call.java:2765)
At Org.apache.axis.client.Call.invoke (call.java:2748)
At Org.apache.axis.client.Call.invoke (call.java:2424)
At Org.apache.axis.client.Call.invoke (call.java:2347)
At Org.apache.axis.client.Call.invoke (call.java:1804)
At Com.roya.mas.platform.business.SiMockStub.sendSms (simockstub.java:2517)
At Com.roya.mas.test.sms.SendMessagetimer.run (sendmessagetimer.java:127)
At Java.util.TimerThread.mainLoop (timer.java:512)
At Java.util.TimerThread.run (timer.java:462)
Caused By:java.lang.ClassCastException:org.apache.xerces.parsers.XML11Configuration cannot is cast to Org.apache.xerces.xni.parser.XMLParserConfiguration
At org.apache.xerces.parsers.saxparser.<init> (Unknown Source)
At org.apache.xerces.parsers.saxparser.<init> (Unknown Source)
At org.apache.xerces.jaxp.saxparserimpl.<init> (Unknown Source)
At Org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser (Unknown Source)
At Org.apache.axis.utils.XMLUtils.getSAXParser (xmlutils.java:269)
At Org.apache.axis.encoding.DeserializationContext.parse (deserializationcontext.java:224)
At Org.apache.axis.SOAPPart.getAsSOAPEnvelope (soappart.java:696)
At Org.apache.axis.Message.getSOAPEnvelope (message.java:424)
At Org.apache.axis.handlers.soap.MustUnderstandChecker.invoke (mustunderstandchecker.java:62)
At Org.apache.axis.client.AxisClient.invoke (axisclient.java:206)
... 9 more
Workaround: Discover the resin service The following LIB package has a xerces.jar, which is duplicated under the Web application Web-inf/lib/xerces.jar. You just have to keep one of them two.
Xerces is an XML parser, Xalan is a formatter, Xml-apis is actually JAXP. General app Server will bring, JDK1.4 also contains the parser, but not xerces, is crimson, inefficient, but hibernate with XML is just read configuration file, performance is not critical, so is redundant.
Deploy an app to a Java web App and report the following error!