This sample is included in the JiBX distribution, under tutorial/example5 If your code is having problems you can compare your binding and classes with the versions given there, which match the figure.

 - Dennis

Vijay Wadgeri wrote:

Hi,
I am trying to run the **Figure 5. Flattened binding*
*example from the Structure Mapping section of http://jibx.sourceforge.net/tutorial/binding-structures.html

However I get the following error:

     [echo] Running JiBX binding compiler
[bind] Error: Nonstatic field customerNumber not found in class org.jibx.starter.Customer; on value element at (line 4, col 51, in jibxStarter/binding.xml) [bind] Error: Nonstatic field firstName not found in class org.jibx.starter.Customer; on value element at (line 5, col 48, in jibxStarter/binding.xml) [bind] Error: Nonstatic field lastName not found in class org.jibx.starter.Customer; on value element at (line 6, col 46, in jibxStarter/binding.xml)

The fields have been defined in the Customer.java class.

Does anybody know what could be the reason for this error.

Regards,

Vijay



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to