Unfortunately, debugging the Simple XML Framework is not easy, but some trial versions and errors helped me.
In my OrderListItem class OrderListItem was this header:
@Element(name="order") public class OrderListItem {
when changing to this:
@Root(name="order") public class OrderListItem {
it worked. The strange thing is, in another code, the @Element annotation seemed to work (this code comes from a different, working, tree).
source share