首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >带有QName的WebLogic12c

带有QName的WebLogic12c
EN

Stack Overflow用户
提问于 2012-04-04 17:51:38
回答 1查看 2.3K关注 0票数 0

我正在使用WebLogic12c和jax-WS2.2来制作webservice客户端ssl。

我的问题是当我在javax.xml.namespace.QName中创建javax.xml.ws.Service的时候。

javax.xml.namespace.QName qname = new javax.xml.namespace.QName("prueba1", "prueba1");

javax.xml.ws.Service create = javax.xml.ws.Service.create(url,qname);

当我尝试构建服务时,我得到了:

java.lang.LinkageError: loader constraint violation: when resolving method "javax.xml.ws.Service.create(Ljavax/xml/namespace/QName;)Ljavax/xml/ws/Service;" the class loader (instance of weblogic/utils/classloaders/ChangeAwareClassLoader) of the current class, org/InstanceInterface, and the class loader (instance of <bootloader>) for resolved class, javax/xml/ws/Service, have different Class objects for the type javax/xml/namespace/QName used in the signature

谢谢。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2012-06-05 17:44:46

错误是因为jaspertReport和JRE都有库QName,如果你在你的jasperreport中去掉了xmlapis,错误就不存在了。出现这个错误是因为我有相同的库和相同的调用路径,而应用程序不知道是谁选择的,我修复了这个错误,因为我认为最好不要有重复的库,而不是标记要使用的库

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/10008759

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档