java - Classpath issue using XPathFactory -


I have the following exception to one of our live servers (other similar codes are running OK): < / P>

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

I'm pretty sure I have The Akslan and Saxon jars Laspath (IBM Java using 1.5).

Do you have any ideas and what can be wrong?

Edit:

This is the code that causes the problem:

  XPathFactory factory = XPathFactory.newInstance ();  

And it's running on a custom web server that is almost based on the catalina engine.

Suitable for you in your classpath. Journal must be added. In my case I used the Saxon-O library.

The bug is fixed in version 9.5.1.5. So you can download.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -