I took a project and it is showing compilation error because it is not recognizing the "required" attribute in the following section:
@XmlElementRef(name = "Nome", namespace = "http://schemas.datacontract.org/teste/teste/teste", type = JAXBElement.class, required = false)
The displayed error is:
The required attribute is undefined for the annotation type XmlElementRef