soap调用Jar包冲突,SOAPMessageContext

2020-01-07 08:32:46来源:博客园 阅读 ()

新老客户大回馈,云服务器低至5折

soap调用Jar包冲突,SOAPMessageContext

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

©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

https://www.cnblogs.com/fanshuyao/

 


原文链接:https://www.cnblogs.com/fanshuyao/p/12159904.html
如有疑问请与原作者联系

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:SpringBoot项目的代理机制【一】

下一篇:最新Idea激活码,持续更新