Java Mailing List Archive

Home » user.castor »

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

Paul French


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?




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