W3C home > Mailing lists > Public > xmlschema-dev@w3.org > August 2005

Marshal called from servlet gives Servlet Exception

From: Deepa Yelluri <dyelluri@csc.com>
Date: Mon, 29 Aug 2005 14:58:18 -0400
To: xmlschema-dev@w3.org
Message-ID: <OF436E330A.41801586-ON8525706C.006824FE-8525706C.006837BF@csc.com>

         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 
XMLwriter writer= new XMLwriter(); 

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. 


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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:30 UTC