================================
©Copyright 蕃薯耀 2020-01-07
https://www.cnblogs.com/fanshuyao/
soap调用Jar包冲突,错误如下:
javax/xml/rpc/handler/soap/SOAPMessageContext have different Class objects for the type javax/xml/soap/SOAPMessage used in the signature
java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "org.apache.axis.MessageContext.getMessage()Ljavax/xml/soap/SOAPMessage;"
the class loader (instance of weblogic/utils/classloaders/ChangeAwareClassLoader) of the current class, org/apache/axis/MessageContext,
and the class loader (instance of sun/misc/Launcher$AppClassLoader) for interface bjects fojavax/xml/rpc/handler/soap/SOAPMessageContext have different Class or the type javax/xml/soap/SOAPMessage used in the signature
at org.apache.axis.AxisFault.setFaultCodeAsString(AxisFault.java:422) at org.apache.axis.AxisFault.<init>(AxisFault.java:228) at com.eastrobot.wsserver.service.impl.AirportsMsgServiceSoapBindingStub.createCall(AirportsMsgServiceSoapBindingStub.java:138) at com.eastrobot.wsserver.service.impl.AirportsMsgServiceSoapBindingStub.search(AirportsMsgServiceSoapBindingStub.java:146) at com.cea.callcenter.action.baseinfo.SearchAirportsMsgI.execute(SearchAirportsMsgI.java:23) Truncated. see log file for complete stacktrace
解决方法:删除saaj.jar,saaj-api-1.3.jar,saaj-impl-1.3.2.jar
(如果你觉得文章对你有帮助,欢迎捐赠,^_^,谢谢!)
================================
©Copyright 蕃薯耀 2020-01-07