小编典典

Axis2 Test Client中的错误

java

我创建了一个Axis2客户端来测试我的axis2 Web服务。但是,我在运行时遇到以下错误:

org.apache.axis2.AxisFault: java.lang.NoClassDefFoundError: Could not initialize
 class com.sample.LoginRequestDocument
        at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.j
ava:517)
        at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(
OutInAxisOperation.java:371)
        at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisO
peration.java:417)
        at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(Out
InAxisOperation.java:229)
        at org.apache.axis2.client.OperationClient.execute(OperationClient.java:
165)
        at com.sample.sampleStub.login(sampleStub.java:4543)

任何想法我可以解决这个问题?


阅读 240

收藏
2020-11-30

共1个答案

小编典典

听起来服务器端缺少类。您确定服务器端模块的部署中包括“ com.sample.LoginRequestDocument”吗?

2020-11-30