我正在尝试使用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:错误加载类[org.springframework.remoting.jaxws.jaxws.jaxws.jaxws.jaxws.jaxwswswswswswsportproxyfactorybean] for bean for bean for bean s someclient'serveletConteft''.xml]:类文件或依赖类问题;/jaxws/jaxwsportclientInterceptor(Module" deployment.jbosseap_ws_webserviceear.ear.jbosseap_ws_springservice.war:main" MAIN"来自服务模块加载程序):org/aopalliance/Interpect/Interpect/Interpect/Metterpect/Metaterceptor/Metaterceptor
您正在使用哪个版本?战争文件中似乎缺少依赖关系。JAXWSWSPORTCLIENTINTECTOR是Spring-web.jar的一部分