I am developing Spring Batch CompositeItemReader & Writer Example. I developed XML file and able to compile code successfully, but when running mu sample co
You declare your class Customer as:
public class Customer implements Serializable{
private static final long serialVersionUID = 1L;
private Integer customerNumber;
private String customerName;
private String contactLastName;
private String contactFirstName;
....
// setters and getters
}
All of your fields are private and you have not yet implemented public getter/setter methods. Do that and your issue will be solved.