在另外一台机器上部署项目,项目导进Eclipse中发现有异常
public class BooleanFeatureType
    extends FeatureBaseType{

    @XmlElementRef(name = "Value", namespace = "http://schemas.sean.com/ma/CA/OPM/", 
			type = JAXBElement.class, required = false)
    protected JAXBElement<Boolean> value;
......

@XmlElementRef那行报错:The attribute required is undefined for the annotation type XmlElementRef

 

解决办法:打开项目 java build path>order and export 将 JRE system library 置顶。错误消失

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-23
  • 2021-06-04
猜你喜欢
  • 2021-11-30
  • 2021-04-22
  • 2021-06-06
  • 2021-12-29
  • 2022-12-23
  • 2021-06-24
相关资源
相似解决方案