java.lang.NoClassDefFoundError:无法初始化类com.sun.xml.ws.transport.http.client.HttpClientTransport

时间:2015-06-24 05:11:54

标签: java jboss jax-ws noclassdeffounderror

其余服务部署在jBOSS服务器中。当我尝试访问特定的Web服务时,我收到以下异常。

10:34:32,579 SEVERE [ContainerResponse] The exception contained within MappableContainerException could not be mapped to a response, re-throwing to the HTTP container
java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.ws.transport.http.client.HttpClientTransport
    at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:110)
    at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:93)
    at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:598)
    at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557)
    at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542)
    at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:439)
    at com.sun.xml.ws.client.Stub.process(Stub.java:222)
    at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:135)
    at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109)
    at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
    at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118)
    at $Proxy628.getFolderType(Unknown Source)
    at com.dsths.awd.wsdl.client.workflow.WorkFlowClient.validateFolderType(WorkFlowClient.java:139)
    at com.dsths.pm.services.WorkFlowService.validateFolderExist(WorkFlowService.java:390)
    at com.dsths.pm.services.ConfigurationGetService.getConfiguration(ConfigurationGetService.java:78)
    at com.dsths.pm.comlayer.SteppPMConfigurationServlet.getConfiguration(SteppPMConfigurationServlet.java:74)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
    at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
    at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
    at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
    at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)

我已经放置了" jaxws-rt.jar"文件在JBOSS lib文件夹中,但仍然得到相同的异常。有人对此有什么想法吗?

0 个答案:

没有答案