【发布时间】:2012-04-18 00:31:19
【问题描述】:
我正在使用带有 jax-ws 2.2 的 weblogic 12c 来制作 web 服务客户端 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
谢谢。
【问题讨论】:
-
但如果我像 java 应用程序那样尝试它的工作原理。我认为这可能是关于 JDK 的重复库(我使用 jdk 1.6)和 WEbLogic 库。我真的不知道
标签: web-services jax-ws weblogic12c