`

WebLogic 10.3 Jaxrpc Ljavax/xml/namespace/QName

阅读更多
WebLogic 10.3
  	at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "org.apache.axis.message.MessageElement.getChildElements(Ljavax/xml/namespace/QName;)Ljava/util/Iterator;" the class loader (instance of weblogic/utils/classloaders/ChangeAwareClassLoader) of the current class, org/apache/axis/message/MessageElement, and the class loader (instance of <bootloader>) for interface javax/xml/soap/SOAPElement have different Class objects for the type javax/xml/namespace/QName used in the signature
	at org.apache.axis.client.Call.invoke(Call.java:2364)
	at org.apache.axis.client.Call.invoke(Call.java:1812)
	at com.techown.core.utils.WebServiceCaller.execute(WebServiceCaller.java:65)
	at com.emm.assets.service.EmmDeviceService.forseUnBind(EmmDeviceService.java:915)
	at com.emm.assets.service.EmmDeviceService$$FastClassByCGLIB$$94cd15e8.invoke()
	at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
	at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
	at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
	at com.emm.assets.service.EmmDeviceService$$EnhancerByCGLIB$$a1e53299.forseUnBind()
	at com.emm.device.action.UserDeviceAction.forceUnbind(UserDeviceAction.java:437)


项目用axis 调用webservice 时报错。

如果weblogic 为开发模式,调整到生产模式

删除 项目中的jaxrpc.jar 或者把jar包中的QName.class 干掉
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics