欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

soap调用Jar包冲突,SOAPMessageContext

程序员文章站 2022-03-25 17:37:20
©Copyright 蕃薯耀 2020-01-07 https://www.cnblogs.com/fanshuyao/ soap调用Jar包冲突,错误如下: javax/xml/rpc/handler/soap/SOAPMessageContext have different Class obj ......

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

©copyright 蕃薯耀 2020-01-07

 

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

 

 

(如果你觉得文章对你有帮助,欢迎捐赠,^_^,谢谢!) 

soap调用Jar包冲突,SOAPMessageContext

 

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

©copyright 蕃薯耀 2020-01-07