有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!

web服务java。lang.NoClassDefFoundError:com/sun/tools/javac/Main SOAP UI

我试图通过SOAP UI使用web服务,但遇到以下错误:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Body>
      <soapenv:Fault>
         <faultcode>soapenv:Server</faultcode>
         <faultstring>java.lang.NoClassDefFoundError: com/sun/tools/javac/Main</faultstring>
         <detail/>
      </soapenv:Fault>
   </soapenv:Body>
</soapenv:Envelope>

我正在本地tomcat上运行Web服务。运行Java1.6的Tomcat7。这些服务是用Java1.6编译的。web服务似乎是在线的,我可以点击列出可用服务的url。然而,当我运行我的soap请求时,我得到了上面的错误。请求是有效的。有人知道这是怎么回事吗


共 (1) 个答案

  1. # 1 楼答案

    根据错误:您的服务器缺少类com.sun.tools.javac.Main