1
我很安靜的新的彈簧框架,需要一些幫助,我在我的應用程序中使用ebay服務從ebay獲取物品。當我在tomcat中運行應用程序時,應用程序崩潰,出現以下異常。class not found在使用易趣服務的春天中的例外
說明服務器遇到內部錯誤(),導致它無法完成此請求。
例外
org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.NoClassDefFoundError: [Ljavax/xml/ws/WebServiceFeature;
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:920)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
root cause
java.lang.NoClassDefFoundError: [Ljavax/xml/ws/WebServiceFeature;
java.lang.Class.getDeclaredMethods0(Native Method)
java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
java.lang.Class.getDeclaredMethods(Class.java:1791)
com.ebay.common.ClientFactory.getServiceEndpointName(ClientFactory.java:106)
com.ebay.common.ClientFactory.getServiceClient(ClientFactory.java:85)
com.ebay.services.client.FindingServiceClientFactory.getServiceClient(FindingServiceClientFactory.java:34)
com.soft.echelon.eBayService.EBayFindItem.getEBayItemsByKeywords(EBayFindItem.java:89)
com.soft.echelon.Controllers.SearchController.onSubmit(SearchController.java:248)
org.springframework.web.servlet.mvc.SimpleFormController.processFormSubmission(SimpleFormController.java:267)
org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:265)
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
我應該怎麼做才能擺脫這種異常。
在此先感謝
感謝拉維的快速反應。 該應用程序在另一臺機器上運行良好 – Nadeem 2012-07-31 05:07:29
歡迎您! – Ravi 2012-07-31 05:41:47