posted 15 years ago
I am facing a problem with the following error:
java.lang.ExceptionInInitializerError
at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:179)
at org.apache.axis.AxisEngine.init(AxisEngine.java:172)
at org.apache.axis.AxisEngine.<init>(AxisEngine.java:156)
at org.apache.axis.client.AxisClient.<init>(AxisClient.java:52)
at org.apache.axis.client.Service.getAxisClient(Service.java:103)
at org.apache.axis.client.Service.<init>(Service.java:112)
.......................................
Caused by: java.lang.ClassCastException: org.apache.xerces.jaxp.SAXParserFactoryImpl
at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
at org.apache.axis.utils.XMLUtils.initSAXFactory(XMLUtils.java:209)
at org.apache.axis.utils.XMLUtils.<clinit>(XMLUtils.java:110)
... 36 more
my lib file consists xerces.jar, xercesImpl.jar and xml-apis.jar which has SAXParserFactoryImpl class in it. Please let me know how to solve this issue.. Thanks!
Ranjith