我想设置使用弹簧的JAX-WS客户端。我有下面的bean定义。下面的错误。springframework /远程处理类未找到
<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:错误加载类[org.springframework.remoting.jaxws.JaxWsPortProxyFactoryBean用于与名称豆 'someClient' 在ServletContext的资源定义[/ WEB-INF /jax-ws.xml]:类文件或相关类的问题;嵌套异常是java.lang.NoClassDefFoundError:无法链接org/springframework/remoting/jaxws/JaxWsPortProxyFactoryBean(模块“deployment.JbossEAP_WS_WebServiceEAR.ear.JBossEap_WS_SpringService.war:main”from Service Module Loader):无法链接org/springframework/remoting/JAXWS/JaxWsPortClientInterceptor(模块 “deployment.JbossEAP_WS_WebServiceEAR.ear.JBossEap_WS_SpringService.war:主” 从服务模块加载器):组织/ aopalliance /截距/的MethodInterceptor