Hi Paul,
it's been 5 years plus that I have seen somebody reporting a problem
like this. Okay, let me ask you a few questions:
- What tool are you using to generate classes (and descriptors) ?
- Do you compile your descriptor classes ?
- Do you package the compiled descriptors and the generated .castor.cdr
files into your web application ?
And more importantly, are you ....
- deploying standard WAR files on Tomcat ?
- having all dependencies (incl. Castor) provided within WEB-INF/lib of
your web application ?
Regards
Werner
On 29.03.2010 14:56, Paul French wrote:
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
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email