2009-09-24 42 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中沒有看到副本)。

相關問題