soap调用Jar包冲突,SOAPMessageContext
程序员文章站
2022-06-15 14:33:59
©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
(如果你觉得文章对你有帮助,欢迎捐赠,^_^,谢谢!)
================================
©copyright 蕃薯耀 2020-01-07
推荐阅读
-
WinForm调用jar包的方法分析
-
python调用java的jar包方法
-
Python调用jar包方法实现过程解析
-
Python使用jpype模块调用jar包过程解析
-
weblogic11g(10.3.6)部署war包时,解决jar包冲突的超简方案
-
Python正确调用 jar 包加密得到加密值的操作方法
-
【转】项目jar包 与tomcat 自带jar 冲突
-
【转】项目jar包 与tomcat 自带jar 冲突
-
httpclient.jar与系统包冲突 java.lang.NoSuchFieldError: No static field INSTANCE of type Lorg/apache/http/c
-
websphere7.0 jar包冲突解决办法,类加载顺序