Hi everybody!!
I have a problem. The error I get is:
org.exolab.castor.mapping.MappingException: Nested error: unable to find
FieldDescriptor for 'field' in ClassDescriptor of map-to{File: ....
mapping.xml; line: 11; column: 36}
the content of the mapping.xml file is:
<?xml version="1.0"?>
<!DOCTYPE mapping PUBLIC "-//EXOLAB/Castor Mapping DTD Version 1.0//EN"
"http://castor.org/mapping.dtd">
<mapping>
<class name="org.castorBean.Person" extends="org.castorBean.GeneralPerson">
<map-to xml="person">
<field name="Name" type="string">
<bind-xml name="name" node="element" />
</field>
</map-to>
</class>
</mapping>
Person.java:
public class Person extends GeneralPerson implements Serializable {
...
}
GeneralPerson.java:
public class GeneralPerson implements Serializable {
private String name;
...
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
...
}
I'm sure that the paths are correct. What's wrong? Help me please!!
Thank you.
--
View this message in context:
http://www.nabble.com/nested-error%3A-unable-to-find-field...-tf3939779.html#a11174113
Sent from the Castor - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email