I am working on a dynamic web app using Eclipse with Tomcat 7 and jre 7. I receive the following exception when attempting to parse an xml string:
could not load any factory class (even small or full default implementation); nested exception is: org.kxml2.io.XmlReader
XmlPullParserFactory factory = XmlPullParserFactory.newInstance();
which is part of the org.xmlpull.v1.XmlPullParserFactory namespace.
I have put the xmlpull_1_0_5.jar into the Tomcat lib folder and restart it. I have also put the file in the WEB-INF lib folder.
Any help would be appreciated! Thanks!
Remove the one you have and use the KXML2 implementation. Download from here: link
More Info