我已经在 Tomcat 中部署了 JAX-WS Web 服务,并且在我重新启动 Tomcat 服务器时。我在控制台上收到此错误。
我已经按照此链接中给出的指南在 web.xml 和 sun-jaxws.xml 中输入了条目 - http://www.jroller.com/eldaaran/entry/using_jax_ws_2_0
请指教。
SEVERE: WSSERVLET11: failed to parse runtime descriptor: com.sun.xml.ws.util.exception.LocatableWebServiceException: class not found in runtime descriptor: webservices.jaxws.Math
at line 6 of jndi:/localhost/jaxws/WEB-INF/sun-jaxws.xml
com.sun.xml.ws.util.exception.LocatableWebServiceException: class not found in runtime descriptor: webservices.jaxws.Math at line 6 of jndi:/localhost/jaxws/WEB-INF/sun-jaxws.xml
at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.getImplementorClass(DeploymentDescriptorParser.java:525)
at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:201)
at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:132)
at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:93)