Can you fill a JIRA and submit a simple test case to reproduce the error?
It could be helpful for us to trace the issue.

On Thu Apr 19 22:05:46 2012, Michael Szalay wrote:
Now there is the same error, the message is

Caused by: java.io.FileNotFoundException: Cannot find resource in classpath for 
URI: com/mycompany/test.xsl
           at 
org.apache.camel.util.ResourceHelper.resolveMandatoryResourceAsUrl(ResourceHelper.java:122)
           at 
org.apache.camel.component.xslt.XsltEndpoint.loadResource(XsltEndpoint.java:67)
           at 
org.apache.camel.component.xslt.XsltEndpoint.<init>(XsltEndpoint.java:51)
           at 
org.apache.camel.component.xslt.XsltComponent.createEndpoint(XsltComponent.java:131)
           at 
org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:91)
           at 
org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:437)

For my point of view, it really should by com.mycompany/test.xsl, because the 
directory in the src/main/resources is called com.mycompany...


Regards Michael




--
Willem
----------------------------------
CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
        http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang

Reply via email to