[keycloak-user] Issue with XPathFactory
Bill Burke
bburke at redhat.com
Wed Oct 14 11:30:45 EDT 2015
include javax.api in your module.xml dependencies.
<module name="javax.api"/>
On 10/14/2015 10:42 AM, carmen wrote:
> 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 with the
> XPathFactoryConfigurationException:
> javax.xml.xpath.XPathFactoryConfigurationException: No XPathFactory
> implementation found for the object model:
> 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
>
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
More information about the keycloak-user
mailing list