|
Hi,
I'm new to
castor and was trying one of the examples given on the castor site:http://castor.exolab.org/xml-mapping.html .
I put the files
order.xml,mapping.xml,MyOrder.java,ClientData.java,Item.java,main.java and the
class files in the same directory.
When I run main.java I get the following
exception:
org.exolab.castor.mapping.MappingException: Nested
error: org.exolab.castor.mapping.MappingException: Could not find the class
MyOrder.
Myorder.class exists in the same
directory.The exception is thrown at this line:Unmarshaller unmar = new
Unmarshaller(mapping);
Any help would be highly appreciated,
Regards,
Sourabh
|
