camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bengt Rodehav <>
Subject Saxon and saxon9he
Date Tue, 13 Nov 2012 13:39:32 GMT
I'm using Camel 2.10.2 on Karaf 2.3.0.

I'm trying to use xpath but I get the following exception:

*2012-11-13 13:20:38,307 | ERROR | rfaces/fundorder | DefaultErrorHandler
           | rg.apache.camel.util.CamelLogger  215 | Failed delivery for
(MessageId: ID-IT-D-FQR815J-56524-1352809143728-0-1 on ExchangeId:
ID-IT-D-FQR815J-56524-1352809143728-0-2). Exhausted after delivery attempt:
1 caught: org.apache.camel.RuntimeExpressionException: Cannot create xpath
expression. Processed by failure processor:
*org.apache.camel.RuntimeExpressionException: Cannot create xpath expression
* at
* at[:1.6.0_32]*
*Caused by: java.lang.RuntimeException: XPathFactory#newInstance() failed
to create an XPathFactory for the default object model: with the
javax.xml.xpath.XPathFactoryConfigurationException: No XPathFctory
implementation found for the object model:*
* at javax.xml.xpath.XPathFactory.newInstance(Unknown Source)[:2.1.0]*
* at
* at
* at
* at
* ... 44 more*

I have also posted a question regarding this on the Karaf mailing list to
find out what xpath implementation should be used on Karaf (and how).

However, looking at the Camel documentation, it seems like I can choose to
use the Saxon implementation of xpath. So, I added camel-saxon as a
dependency to my project.

But, then I can't build because maven cannot find the artifact
net.sf.saxon/saxon9he/ I've searched maven central and it's not
there. Do I have to configure any other repositories than maven central?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message