Spring 多个xsi:schemaLocation中出错

Spring 多个xsi:schemaLocation中出错,spring,sftp,Spring,Sftp,我正在使用spring集成,需要包含多个xsi:schemaLocation <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:int="http://www.springframework.org/schema/integration" xmlns:int-sf

我正在使用spring集成,需要包含多个xsi:schemaLocation

<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:int="http://www.springframework.org/schema/integration"
       xmlns:int-sftp="http://www.springframework.org/schema/integration/sftp"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
                           http://www.springframework.org/schema/beans/spring-beans.xsd
                           http://www.springframework.org/schema/integration/sftp
                           http://www.springframework.org/schema/integration/sftp/spring-integration-sftp.xsd">
将spring集成sftp添加到我的pom.xml中修复了这一问题

<dependency>
    <groupId>org.springframework.integration</groupId>
    <artifactId>spring-integration-sftp</artifactId>
    <version>2.0.3.RELEASE</version>
</dependency>

2.0.3可能是一个旧版本,但这正是我们用于spring integration core的版本,所以我将其保持不变。

我遇到了同样的问题。我想这可能是一个依赖问题?当前正在检查我的pom.xml。
<dependency>
    <groupId>org.springframework.integration</groupId>
    <artifactId>spring-integration-sftp</artifactId>
    <version>2.0.3.RELEASE</version>
</dependency>