Hello All,
I am trying to sue ServiceMix 4.5.1 snapshot on windows and I am having some
issues with finding XSLT's in the classpath. Camel is throwing this error:
Caused by: javax.xml.transform.TransformerException:
java.io.FileNotFoundException: Cannot find resource in classpath for URI:
xslt\my.xsl
at
org.apache.camel.builder.xml.XsltUriResolver.resolve(XsltUriResolver.java:83)
at
org.apache.camel.builder.xml.XsltUriResolver.resolve(XsltUriResolver.java:91)
at
org.apache.camel.component.xslt.XsltEndpoint.loadResource(XsltEndpoint.java:95)
at
org.apache.camel.component.xslt.XsltEndpoint.doStart(XsltEndpoint.java:108)
at
org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60)
at
org.apache.camel.impl.DefaultCamelContext.startService(DefaultCamelContext.java:1763)
at
org.apache.camel.impl.DefaultCamelContext.doAddService(DefaultCamelContext.java:931)
at
org.apache.camel.impl.DefaultCamelContext.addService(DefaultCamelContext.java:892)
at
org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:475)
... 35 more
Caused by: java.io.FileNotFoundException: Cannot find resource in classpath
for URI: xslt\my.xsl
at
org.apache.camel.util.ResourceHelper.resolveMandatoryResourceAsInputStream(ResourceHelper.java:106)
at
org.apache.camel.builder.xml.XsltUriResolver.resolve(XsltUriResolver.java:81)
When I deploy the same bundle in SMX 4.5.0, it deploys just fine. Could
there be an issue with a classpath resolver in the 4.5.1 snapshot? Camel
did see an issue with this in the past, but indicate that is has been fixed:
https://issues.apache.org/jira/browse/CAMEL-5223
I tried a previous snapshot of 4.5.1 on my MacOS and the bundle started with
no issues.
Any ideas?
Thanks,
Yogesh
--
View this message in context:
http://servicemix.396122.n5.nabble.com/ServiceMix-4-5-1-snapshot-classpath-issue-tp5716126.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.