`
paladin1988
  • 浏览: 329620 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

The attribute required is undefined for the annotation type XmlElementRef

 
阅读更多



使用CXF的wsdl2java生成Java客户端,在@XmlElementRef类上面提示:The attribute required is undefined for the annotation type XmlElementRef。



解决办法如下:


1、拷贝apache-cxf-2.7.0\lib目录下的endorsed文件夹(里面包含geronimo-jaxws_2.2_spec-1.1.jar和jaxb-api-2.2.6.jar 两个jar包);


2、将上述复制好的文件夹复制到%JAVA_HOME%\jre\lib目录下

3、重启eclipse即可。



参考:

http://www.coderanch.com/t/532592/Web-Services/java/attribute-required-undefined-annotation-type

分享到:
评论

相关推荐

    SSD7 选择题。Multiple-Choice

    In an ER model, which of the following is true about a component attribute? (a) A component attribute is always atomic. (b) Component attributes must always be combined by an aggregation operation...

    Devart LinqConnect 3.1

    The behaviour is changed: the Validate Required attribute is synchronized with the Nullable attribute of Property by default now The behaviour is changed: when selecting a property in the Model ...

    Attribute Weighting for Averaged One-Dependence Estimators

    Averaged One-Dependence Estimators (AODE) is one of supervised learning algorithm, which relaxes the conditional independent assumption that working on the standard naive Bayes learner. The AODE has ...

    Adversarial Attribute-Text Embedding for Person Search with Natural Language Que

    首先,标题和描述中提到的"Adversarial Attribute-Text Embedding for Person Search with Natural Language Query"指的是使用对抗属性-文本嵌入技术来实现基于自然语言查询的人搜索功能。在这里,“对抗”指的是...

    深入java虚拟机(inside the java virtual machine)

    The LocalVariableTable Attribute The SourceFile Attribute The Synthetic Attribute Getting Loaded: A Simulation On the CD-ROM The Resources Page 7 The Lifetime of a Class Class Loading, Linking, ...

    复杂环境下的人脸识别Deep Learning Face Attributes in the Wild

    learning framework for attribute prediction in the wild. It cascades two CNNs, LNet and ANet, which are fine- tuned jointly with attribute tags, but pre-trained differently. LNet is pre-trained by ...

    Submodular Attribute Selection for Visual recognition

    Submodular Attribute Selection for Visual Recognition Jingjing Zheng, Student Member, IEEE, Zhuolin Jiang, IEEE Member, Rama Chellappa, IEEE Fellow, and P. Jonathon Phillips, IEEE Member

    Tera Term 4.83官方纯净版

    Added support for selecting any type of the Debug mode. Added the DebugModes entry in the teraterm.ini file. Bug Fixes in Tera Term version 4.83 The background color will not be painted well after ...

    Dundas.Chart.for.Winform.Enterprise.v7.1.0.1812.for.VS2008

    The Rose Chart type is a circular chart that allows for great data comparison between data series. (Part of the Enterprise Edition). Chart Builder - The new Chart Builder lets developers and non- ...

    NTFS Documentation

    This attribute is crucial for managing the available space on the volume. ##### Attribute - $REPARSE_POINT (0xC0) Used for symbolic links, junction points, and other types of reparse points that ...

    数位板压力测试

    Programming is easiest when the amount of knowledge and effort required matches the task at hand. Writing simple programs should require only a few lines of code and a minimal understanding of the en-...

    Senfore_DragDrop_v4.1

    Delphi's THandle type when a HWND is passed to a function. E.g.: if (DragDetectPlus(THandle(MyControl->Handle), Point(X, Y))) { ... } * Virtual File Stream formats can only be pasted from the ...

    Chinese Entity Linking Comprehensive

    entity-type - GPE, ORG, or PER type indicator for the entity 4. genre - WB/NW/DF indicating the source genre of the document for the query (WB for web data, NW for newswire data, or DF for ...

    A method for uncertain linguistic multiple attribute decision making with incomplete weight information

    A method for uncertain linguistic multiple attribute decision making with incomplete weight information,卫贵武,,The aim of this paper is to investigate the multiple attribute decision making ...

    外部归并排序算法,使用B+树,分块整理等

    A query interface is required for checking the B-Tree. For a reasonable ORDERKEY value, please print out all the pages visited along the path to find the corresponding record. Please also report the ...

    The Elements of Statistical Learning data Mining,Inference,and Prediction

    Here is a summary of the main changes: 1On the Web, this quote has been widely attributed to both Deming and Robert W. Hayden; however Professor Hayden told us that he can claim no credit for this ...

    The.Fortran.2003.Handbook

    Fortran, which stands for "Formula Translation," is a high-level programming language that has been in use since the 1950s. Its longevity can be attributed to its initial role as one of the first high...

    Attribute Aware Pooling for Pedestrian Attribute Recognition.pdf

    这篇文档的核心内容是关于一种新型的属性感知池化(Attribute Aware Pooling,简称AAP)算法,该算法被用来强化深度卷积神经网络(CNNs)在行人属性识别问题上的能力。行人属性识别问题在智能视频监控领域有着广泛的...

    JSP Simple Examples

    All the headers are optional except Content-length, which is required only for POST request. Java class in JSP To use the class inside the jsp page we need to create an object of the class by using...

Global site tag (gtag.js) - Google Analytics