Java Mailing List Archive

http://www.junlu.com/

Home » user.castor »

[castor-user] Setting Class Loader for the marshaller/unmarshaller

Paul French

2010-03-29

Replies: Find Java Web Hosting

Author LoginPost Reply

Hello All,

 

This seems to be a common problem but I can’t seem to find the solution.

 

We use castor to marshall and unmarshall using package descriptors/.cdr files.

 

All is fine in eclipse. When deploying to tomcat due to where certain libraries are placed we get classnotfound exceptions. Basically I need to tell the marshaller and unmarshaller what class loader to use. How can I do this?

 

Thanks

Paul

©2008 junlu.com - Jax Systems, LLC, U.S.A.