zoukankan      html  css  js  c++  java
  • 项目重新部署后报The attribute required is undefined for the annotation type XmlElementRef

    在另外一台机器上部署项目,项目导进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 置顶。错误消失

  • 相关阅读:
    CSS切割
    一台电脑 多个 tomcat
    CGI
    电源关系
    Monkey Test 命令使用
    html ul
    java 反射
    RTMP
    动态库
    flash 大文件上传
  • 原文地址:https://www.cnblogs.com/firstdream/p/5897619.html
Copyright © 2011-2022 走看看