简体   繁体   English

使用Junit测试Web服务时出错

[英]Testing an webservice using Junit getting errors

I am testing a java webservice with client jar which is made by axis-ant,When i run the test i'm getting the following errors. 我正在使用由axis-ant制作的客户端jar测试Java Web服务,运行测试时出现以下错误。

java.lang.NoSuchMethodError: org.apache.axis.description.TypeDesc.(Ljava/lang/Class;Z)V at com.xxxx.www.xxxx.xsd.GetSalesIdRequest.(Unknown Source) java.lang.NoSuchMethodError:org.apache.axis.description.TypeDesc。(Ljava / lang / Class; Z)V位于com.xxxx.www.xxxx.xsd.GetSalesIdRequest。(未知来源)

Please help me. 请帮我。

我怀疑您尚未将apache轴添加到您的类路径中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM