JAXB unmarshall a collection
You shouldn't be using @XmlElementWrapper
here, just @XmlElement
:
@XmlRootElement(name="Log")public class Log { @XmlElement(name = "logEntry") private List<LogEntry> logList;
You shouldn't be using @XmlElementWrapper
here, just @XmlElement
:
@XmlRootElement(name="Log")public class Log { @XmlElement(name = "logEntry") private List<LogEntry> logList;