| Problem creating POJO using Castor data binding framework in Eclipse plugin [message #322652] |
Thu, 22 November 2007 23:12  |
Eclipse User |
|
|
|
Hi,
I apologize if I am posting in the wrong forum.
I want to create a POJO from XML in an Eclipse plug-in which uses Castor
data binding framework to read and an XML file and call the mapping to
create the object. Now the problem is that Castor is not able to find
the class for which it is supposed to create a POJO. This class is
available under the packages of Eclipse plug-in source.
I get an exception
"org.exolab.castor.mapping.MappingException:Could not find the class
com.xml.license.License"
com.xml.license.License is defined in the plug-in.
The mapping used by castor looks like this
<class name="com.xml.license.License">
<field name="licenseName" type="string">
<bind-xml name="name" node="attribute" />
</field>
<field name="licenseVersion" type="string" />
</class>
Regards
Samrat Dhillon
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04204 seconds