Re: Tomcat giving JDK Precedence Over JARs in WAR

2007-08-09 Thread david2
Gregor, I am using the following: Tomcat 5.5.20 Xalan 2.7.0 Eclipse 3.2.2 JDK build 1.6.0-b105 I already include xml-apis-1.3.03.jar in the WAR's WEB-INF/lib-directory. However, while I need the class javax.xml.xpath.XPathFactory contained in xml-apis-1.3.03.jar, this class al

Tomcat giving JDK Precedence Over JARs in WAR

2007-08-09 Thread david2
I have a web application that uses commons XML (xml-apis-1.3.03.jar). The usage of javax.xml.xpath.XPathFactory.newInstance() works fine in the Eclipse debugger, but when the code is packaged into a WAR and deployed to Tomcat, I get a NullPointerException when javax.xml.xpath.XPathFactory.newInst