【问题标题】:Apache Axis NoClassDefFoundError when trying to list services尝试列出服务时出现 Apache Axis NoClassDefFoundError
【发布时间】:2009-07-31 08:44:55
【问题描述】:

当我尝试列出由 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)]

【问题讨论】:

    标签: web-services tomcat axis noclassdeffounderror


    【解决方案1】:

    MyAwesomeServiceSoapBindingImpl 包装的对象不是实例化属性。

    我猜测,由于 Axis 初始化其服务的方式,潜在问题被这种(乍一看似乎完全不相关)类型的问题所掩盖......

    一旦我解决了根本问题,一切都恢复了活力。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-05-19
      • 1970-01-01
      • 1970-01-01
      • 2021-10-03
      • 2017-08-08
      相关资源
      最近更新 更多