I have a web application where i am using spring 3.0 and oracle\'s XMLTYPE related jar\'s com.oracle.xdb which in turn depends on com.oracle.xml.xmlparserv2 , iam sure most
Instead of modifying xmlparserv2.jar you can add
xmlparserv2.jar
-Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
Click here to read a post on Oracle's forums talking about the issue.