我正在尝试使用spring设置JAX-WS客户端。我有下面的bean定义。得到以下错误。
<bean id="someClient" class="org.springframework.remoting.jaxws.JaxWsPortProxyFactoryBean">
<property name="serviceInterface" value="somePortType" />
<property name="wsdlDocumentUrl" value="file:///someWSDL.wsdl"/>
<property name="namespaceUri" value="soemNS" />
<property name="serviceName" value="Services201006" />
</bean>
引起:org.springframework.beans.factory.CannotLoadBeanClassException:为名为'someClient&#39;的bean加载类[org.springframework.remoting.jaxws.JaxWsPortProxyFactoryBean]时出错在ServletContext资源[/WEB-INF/jax-ws.xml]中定义:类文件或依赖类的问题;嵌套异常是java.lang.NoClassDefFoundError:无法链接org / springframework / remoting / jaxws / JaxWsPortProxyFactoryBean(模块&#34; deployment.JbossEAP_WS_WebServiceEAR.ear.JBossEap_WS_SpringService.war:main&#34;来自服务模块加载器):无法链接org / springframework / remoting / jaxws / JaxWsPortClientInterceptor(Module&#34; deployment.JbossEAP_WS_WebServiceEAR.ear.JBossEap_WS_SpringService.war:main&#34;来自Service Module Loader):org / aopalliance / intercept / MethodInterceptor
答案 0 :(得分:0)