尝试列出服务时出现 Apache Axis NoClassDefFoundError

发布于 2024-07-29 16:24:45 字数 407 浏览 10 评论 0原文

当我尝试列出我的 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

日记撕了你也走了 2024-08-05 16:24:45

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文