Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Marshal called from servlet gives Servlet Exception

From: Deepa Yelluri <dyelluri@---.--->
To: xmlschema-dev@--.---
Date: 8/29/2005 10:58:00 AM
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.
----------------------------------------------------------------------------------------


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent