使用spring-ws-core API消耗Spring Web Service时遇到异常

时间:2015-08-07 07:37:05

标签: spring-integration spring-ws

我正在使用Spring-ws-core API来使用Spring Web Service。但是当我在项目的pom.xml文件中添加以下依赖项时遇到错误:

<!-- SPRING WEB-SERVICE DEPEDENCY INJECTION -->
    <dependency>
        <groupId>org.springframework.ws</groupId>
        <artifactId>spring-ws-core</artifactId>
        <version>2.1.4.RELEASE</version>
    </dependency>

例外情况如下:

 2015-08-07 03:12:15,097 ERROR | main | org.mortbay.log                                         | Nested in org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/spring-config/netverifier-process-integration.xml]; nested exception is org.springframework.beans.FatalBeanException: Class [org.springframework.integration.config.xml.IntegrationNamespaceHandler] for namespace [http://www.springframework.org/schema/integration] does not implement the [org.springframework.beans.factory.xml.NamespaceHandler] interface: 
org.springframework.beans.FatalBeanException: Class [org.springframework.integration.config.xml.IntegrationNamespaceHandler] for namespace [http://www.springframework.org/schema/integration] does not implement the [org.springframework.beans.factory.xml.NamespaceHandler] interface
    at org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.resolve(DefaultNamespaceHandlerResolver.java:126) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
    at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1330) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
    at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1325) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
    at 

有谁可以帮我解决这个问题?

0 个答案:

没有答案