It looks like your XML document has the root element “Group” instead of “group”. You can:
- Change the root element on your XML to be “group”
- Add the annotation @XmlRootElement(name=”Group”) to the Group classs.
More Related Contents:
- How to generate CDATA block using JAXB?
- Using JAXB to cross reference XmlIDs from two XML files
- JAXB Marshalling Unmarshalling with CDATA
- Stax XMLStreamReader check for the next event without moving ahead
- JAXB: How should I marshal complex nested data structures?
- A message body writer for Java class java.util.ArrayList…and MIME media type text/xml was not found
- @XmlPath has no impact during the JAXB Marshalling
- Marshalling a List of objects implementing a common interface, with JaxB
- How do you customize how JAXB generates plural method names?
- XML element with attribute and content using JAXB
- Converting XML to Java objects [closed]
- Represent null value as empty element in xml jaxb
- no suitable HttpMessageConverter found for response type
- JAXB inheritance, unmarshal to subclass of marshaled class
- JAXB – Ignore element
- How to marshal without a namespace?
- Java/JAXB: Unmarshall XML attributes to specific Java object attributes
- JAXB filtered parsing
- How to deal with JAXB ComplexType with MixedContent data?
- Using StAX to create index for XML for quick access
- Use JAXB to create Object from XML String
- Simple conversion between java.util.Date and XMLGregorianCalendar
- Marshalling LocalDate using JAXB
- Where I can find a detailed comparison of Java XML frameworks? [closed]
- JAXB, XJC -> create multiple class files
- Jaxb: how to unmarshall xs:any XML-string part?
- Java XML Binding [closed]
- JAXB annotations for nested element lists
- Controlling namespace prefixes in JAXB
- How to generate JAXB classes from just XML