轴故障-java.lang.ClassCastException:org.apache.axis.attachments.AttachmentsImpl

时间:2019-01-21 15:08:13

标签: java liferay liferay-7

当我尝试使用肥皂服务时,我在liferay 7中遇到了这个异常。

轴jar已在tomcat / web-inf / lib文件夹中提供。我正在compileOnly中使用build.gradle

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 faultString: java.lang.ClassCastException: org.apache.axis.attachments.AttachmentsImpl cannot be cast to org.apache.axis.attachments.Attachments
 faultActor: 
 faultNode: 
 faultDetail: 
    {http://xml.apache.org/axis/}stackTrace:java.lang.ClassCastException: org.apache.axis.attachments.AttachmentsImpl cannot be cast to org.apache.axis.attachments.Attachments
    at org.apache.axis.Message.setup(Message.java:352)

0 个答案:

没有答案