Werner
--Original Message Text---
From: Dinesh Pandey
Date: Wed, 13 Apr 2005 16:11:40 +0530
Hi,
I get the following error when I try to execute this code:
un.setMapping( mapping ); // Here un is the unmarshaller object
==============================================================================
org.exolab.castor.mapping.MappingException: Nested error: org.exolab.castor.mapping.MappingException: Could not find the class Employee
==============================================================================
Here is my mapping file:
==============================================================================
<mapping>
<description>Testmapping file</description>
<class name="Employee">
<field name="name" type="string" />
<field name="address" type="string" />
<field name="designation" type="string" />
<field name="email" type="string" />
<field name="homePhone" type="string" />
<field name="workPhone" type="string" />
</class>
<class name="Employees">
<field name="employees" type="Employee" collection="collection" /> </class> </mapping>
==============================================================================
Could anyone please help me this?
I have defined the Employee class and it is in the same package as the class that calls the unmarshaller.
Thanks and regards,
Dinesh
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user
