3 Replies Latest reply on Nov 9, 2006 2:24 PM by Stephen Schwenker

    XPath newInstance() runtime error

    Mark Morrisson Newbie

      Hi everyone,

      I'm running an application that uses JAXP libraries, and I get the following error while invoking javax.xml.xpath.XPathFactory.newInstance() :

      java.lang.RuntimeException: XPathFactory#newInstance() failed to create an XPathFactory for the default object model: http://java.sun.com/jaxp/xpath/dom with the XPathFactoryConfigurationException: javax.xml.xpath.XPathFactoryConfigurationException: No XPathFctory implementation found for the object model: http://java.sun.com/jaxp/xpath/dom

      I've put in the WAR file the last versions of xercesImpl.jar, xalan.jar and
      xml-apis.jar. I'm not so good in XML. Where does the problem come from ?

      Thanks in advance,