[keycloak-user] Issue with XPathFactory

carmen carmen.checa at masergy.com
Wed Oct 14 10:42:57 EDT 2015


Hi all,

I am writing a federation provider that accesses Oracle using MyBatis.
I get the following error when MyBatis is trying to read its xml configuration:


### Cause: java.lang.RuntimeException: XPathFactory#newInstance() failed to create an XPathFactory for the default object model: http://java.sun.com/jaxp/xpath/dom <http://java.sun.com/jaxp/xpath/dom> with the XPathFactoryConfigurationException: javax.xml.xpath.XPathFactoryConfigurationException: No XPathFactory implementation found for the object model: http://java.sun.com/jaxp/xpath/dom <http://java.sun.com/jaxp/xpath/dom>
	at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:26)
	at org.apache.ibatis.session.SqlSessionFactoryBuilder.build(SqlSessionFactoryBuilder.java:54)


The federation provider jar is a big fat jar that includes all its dependencies.

Any ideas?

Thank you
Maria
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20151014/9e5c38e0/attachment.html 


More information about the keycloak-user mailing list