This content has been marked as final.
Show 2 replies
-
1. Re: <convertBodyTo type="javax.xml.transform.Source"/> fails with ClassNotFound
njiang Mar 26, 2012 9:09 PM (in response to jjakub)Can you use the packages:imports YOUR_BUNDLE_ID to check if it imports the package of "javax.xml.transform" ?
If not, you should add an import of that package.
Willem
-
2. Re: <convertBodyTo type="javax.xml.transform.Source"/> fails with ClassNotFound
jjakub Mar 27, 2012 3:13 AM (in response to njiang)Thank You very much for help.
Yes, I missed import, and adding import helps. I was exactly the point.
Now when I do
<ns2:szukajResponse xmlns:ns2="http://com........
....
... ]. Caused by: [org.apache.camel.NoTypeConversionAvailableException -
Converting Exception when converting from type: byte[] to the required type: javax.xml.transform.Source with value [B@45865d65, which is cau
sed by org.apache.camel.RuntimeCamelException: java.lang.LinkageError: loader constraint violation: loader (instance of
there is no exception, and this is ok for me.