I also faced problem like this and i set this.
@XmlRootElement(name="yourRootElementName")
@XmlAccessorType(XmlAccessType.FIELD)
This will work 100%
I also faced problem like this and i set this.
@XmlRootElement(name="yourRootElementName")
@XmlAccessorType(XmlAccessType.FIELD)
This will work 100%