码迷,mamicode.com
首页 > 编程语言 > 详细

Caused by: java.security.PrivilegedActionException: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 10 counts of IllegalAnnotationExceptions

时间:2016-06-06 18:42:58      阅读:294      评论:0      收藏:0      [点我收藏+]

标签:

在tomcat下运行jax-ws 异常

Caused by: java.security.PrivilegedActionException: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 10 counts of IllegalAnnotationExceptions
Two classes have the same XML type name "{http://tempuri.org/}getprice_Five". Use @XmlType.name and @XmlType.namespace to assign different names to them.
这个就有点杯具,避免这种事情最好是在你implement类中加上‍targetNamespace,自己一个个找,手动改起来很麻烦。

Caused by: java.security.PrivilegedActionException: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 10 counts of IllegalAnnotationExceptions

标签:

原文地址:http://www.cnblogs.com/liqun-12345/p/5564497.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!