how to add extra java libraries to the java snippet node

I put some classes in jre/lib/ext (eg cxf-2.1jar) to add extra features to the java snippet node.

The code that uses these classes compiles ok but when I execute the pipeline, I get java.lang.reflect.InvocationTargetException.
If I wrap the call in try/catch, it's clear that the error is actually ClasslNotFoundException.

Example
factory = (org.apache.cxf.jaxws.JaxWsProxyFactoryBean)Class.forName("org.apache.cxf.jaxws.JaxWsProxyFactoryBean").newInstance();

Is this fixable?

Hi Mikey,

I can reproduce the problem but I can't tell what is causing it. I will open a bug report for it (we designed it to work with basic java classes, it doesn't even have access to KNIME core libraries).

Sorry, can't be of more help right now.

Bernd

Hi Mikey,

just wanted to let you know that we could fix it. We will test it in the upcoming weeks and make the fix available in 2.0.

Cheers,
Bernd