soap调用Jar包冲突,SOAPMessageContext

阅读更多

 

 

================================

©Copyright 蕃薯耀 2018年8月30日

http://fanshuyao.iteye.com/

 

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.(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 蕃薯耀 2018年8月30日

http://fanshuyao.iteye.com/

 

 

 

你可能感兴趣的:(loader,constraint,violation,in,interface,itable,initialization,Jar包冲突,蕃薯耀)