Hi,

I also posted a request with the sample code at jira.codehaus.org. Please
have a look at the following page:

http://jira.codehaus.org/browse/CASTOR-2391

I don't have any ideas anymore. I also deployed this application to a Tomcat
server with the same result. When I'm using the classes in a folder
structure, then it works. But when I put all classes in a jar file, then the
classes won't be found.

Please help !

Thanks,
Konni



Werner Guttmann wrote:
> 
> 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
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/unmarshal-tp17341722p17557740.html
Sent from the Castor - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to