Try adding required=true to this:
@XmlElement(name="items")
List<Item> items;
or else tell JAXB to treat nulls and empty collections differently. We
ran into the same issue where null/empty elements were absent from the
XML and thus a JAXB client would generate classes missing these
properties.