项目重新部署后报The attribute required is undefined for the annotation type XmlElementRef
2016-09-22 19:30
681 查看
在另外一台机器上部署项目,项目导进Eclipse中发现有异常
@XmlElementRef那行报错:The attribute required is undefined for the annotation type XmlElementRef
解决办法:打开项目 java build path>order and export 将 JRE system library 置顶。错误消失
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 置顶。错误消失
相关文章推荐
- CXF wsdl2java : The attribute required is undefined for the annotation type XmlElementRef
- wsdl2java : The attribute required is undefined for the annotation type XmlElementRef+super构造函数函数错误.
- The attribute required is undefined for the annotation type XmlElementRef
- The attribute locations is undefined for the annotation type ContextConfiguration
- White space is required before the attribute type in the declaration of attribute "t" for element "b
- The prefix "p" for attribute "p:myservice-ref" associated with an element type "bean" is not bound.
- The attribute value is undefined for the annotation type WebServlet解决方案
- 'date' is an invalid value for the SoapElementAttribute.DataType property. The property may only be specified for primitive types.
- Maven部署Web项目报错webxml attribute is required
- MyEclipse 下 the method getTextContent() is undefined for the type Element
- The method getTextContent() is undefined for the type Element
- The method getTextContent() is undefined for the type Element
- Tomcat服务端工程部署遇到的 “The method getDispatcherType() is undefined for the type HttpServletReques
- 部署Tomcat8遇到的 “The method getDispatcherType() is undefined for the type HttpServletRequest” 问题
- 运行maven项目报错:The method queryForInt(String) is undefined for the type JdbcTemplate
- [Java][Maven]Maven部署Web项目报错webxml attribute is required
- The method getTextContent() is undefined for the type Node XMLParse.java
- xml报错“cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element”
- 项目报错:The method getTextContent() is undefined for the type Node
- [Java][Maven]Maven部署Web项目报错webxml attribute is required