2009-09-24 154 views
0

我在Tomcat的部署JAX-WS Web服务,当我重新启动Tomcat服务器。我在控制台上收到这个错误。JAX-WS Deployement错误+ LocatableWebServiceException:在运行时描述找不到类

我已经在推杆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) 
+0

这个问题你有什么突破吗?我在tomcat 6上面临同样的问题 – Atul 2014-06-19 11:22:02

回答

1

它看起来像无法找到类webservices.jaxws.Math。

我找不到这个类在网络上的任何引用,所以我只能认为它是一个自定义类,或正在使用错误的命名空间。

是否有一个webservices/jaxws/Math.class文件?

0

webservices.jaxws.Math似乎是您的端点实现类。这个类是很好的打包和部署?你确定它在类路径中吗?

0

你有没有参考sun-jaxws.xml中的Math?我认为java.lang.Math的错误名称比webservices.jaxws.Math类的错误更多(我在我的版本的jax-ws中没有看到副本)。