Konni,
That should work out of the box, unless the JAR file happens to be on a
different class loader. In that case, you will have to supply a class
loader to the Unmarshaller as well.
Werner
Konni wrote:
> How do I tell the unmarshaller where to find the corresponding classes?
> When I use a folder "edi/ordrsp" and store all the necessary class files,
> then the unmarshaller works properly. But when I use a jar file, which also
> contains all the classes in the package "edi/ordrsp", then I get a
> "NoClassDefFoundError", although the jar file is in the classpath.
> Is this an issue with the classloader? Do you have some sample code using
> the unmarshaller referring to classes in a jar file?
>
> Thanks,
> Konni
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email