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

Reply via email to