Marshal called from servlet gives Servlet Exception

Hi, 

         I have a servlet which calls a XMLWriter class which has a method 
to marshall the java object. 
But I am getting an exception : 
[Servlet Error]-[org/exolab/castor/mapping/Mapping]: 
java.lang.NoClassDefFoundError: org/exolab/castor/mapping/Mapping 
at test.AdminServlet.doPost(AdminServlet.java:43) 

I am calling the marshaller in XMLWriter and calling it from AdminServlet 
as: 
XMLwriter writer= new XMLwriter(); 
writer.changePass(user); 

If I run XMLwriter seperately its working fine. I am using the latest 
castor.jar and xerces.jar. 

Can you please let me know what is the problem. 

Thanks 
Deepa 


----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please 
delete without copying and kindly advise us by e-mail of the mistake in 
delivery. NOTE: Regardless of content, this e-mail shall not operate to 
bind CSC to any order or other contract unless pursuant to explicit 
written agreement or government initiative expressly permitting the use of 
e-mail for such purpose.
----------------------------------------------------------------------------------------

Received on Tuesday, 30 August 2005 02:30:39 UTC