尝试列出服务时出现 Apache Axis NoClassDefFoundError
当我尝试列出我的 Axis 支持的 Web 服务、尝试访问任何服务的 WSDL 以及尝试使用相关服务时,都会引发异常:
Servlet AxisServlet 的 Servlet.service() 抛出异常
java.lang.NoClassDefFoundError:com.example.MyAwesomeServiceSoapBindingImpl
现在,我知道该类在 Axis Web 服务的 WEB-INF/lib 目录中的 jar 中可用,并且我已经重新加载了 Axis我把它放在那里。
有什么想法吗?
[tomcat 5.5.x,Apache Axis 版本:1.4 构建于 2006 年 4 月 22 日 (06:55:48 PDT)]
I'm getting an exception being thrown when I try and list my Axis-powered web services, when I try and access the WSDL for any service and when I try and use the service in question:
Servlet.service() for servlet AxisServlet threw exception
java.lang.NoClassDefFoundError: com.example.MyAwesomeServiceSoapBindingImpl
Now, I know that class is available in a jar in the Axis web service's WEB-INF/lib directory, and I have reloaded Axis since I put it there.
Any ideas, anyone?
[tomcat 5.5.x, Apache Axis version: 1.4 Built on Apr 22, 2006 (06:55:48 PDT)]
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
MyAwesomeServiceSoapBindingImpl 包装的对象不是实例化属性。
我猜想,由于 Axis 初始化其服务的方式,这种(乍一看显然完全不相关)类型的问题掩盖了根本问题......
一旦我解决了根本问题,一切就恢复了生机。
The object that MyAwesomeServiceSoapBindingImpl wraps isn't instantiating property.
I'm guessing that underlying problem is masked by this (apparently totally unrelated at first glance) type of problem because of the way Axis initialises its services...
Once I fixed the underlying problem everything kicked back into life.