I am not sure how to use JAXB with KNIME. I have no problem when I use it with for example Sun JavaSE 6u14, but when I try to unmarshall an xml, I get this error message:
Exception in thread “main” java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/C:/Users/test/progs/eclipse_knime_2.0/jre/lib/endorsed/jaxb-impl-2.1.10.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
I tried to generate the classes (
-target 2.0 too, and got the same error message.