Spring batch cvc复杂类型.2.4.c:匹配的通配符是严格的,但找不到元素“batch-int:remote chunking slave”的声明

Spring batch cvc复杂类型.2.4.c:匹配的通配符是严格的,但找不到元素“batch-int:remote chunking slave”的声明,spring-batch,Spring Batch,很抱歉,如果这个问题已经得到回答,我正在尝试使用远程分块构建spring批处理,但是cvc复杂类型有一个错误。2.4.c-我发现很多答案cvc复杂类型。2.4.c:。。。但是没有提到batch-int:remote chunking slave,所以这里是我的xml文件: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans"

很抱歉,如果这个问题已经得到回答,我正在尝试使用远程分块构建spring批处理,但是cvc复杂类型有一个错误。2.4.c-我发现很多答案cvc复杂类型。2.4.c:。。。但是没有提到batch-int:remote chunking slave,所以这里是我的xml文件:

<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:batch-int="http://www.springframework.org/schema/batch-integration"
       xmlns:int="http://www.springframework.org/schema/integration"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
         http://www.springframework.org/schema/beans/spring-beans.xsd
         http://www.springframework.org/schema/batch-integration
         http://www.springframework.org/schema/batch-integration/spring-batch-integration.xsd">

    <batch-int:remote-chunking-slave id="remote-chunking-slave" input-channel="requests" output-channel="replies"
                                     item-processor="itemProcessor" item-writer="itemWriter"/>


    <bean id="itemProcessor" class="io.spring.remotechunkingslave.processor.ImageProcessor">
        <constructor-arg index="0" value="${unprocessed.images.dir}"/>
        <constructor-arg index="1" value="200"/>
        <constructor-arg index="2" value="150"/>
    </bean>

    <bean id="itemWriter" class="io.spring.remotechunkingslave.writer.ImageWriter">
        <constructor-arg index="0" value="${processed.images.dir}"/>
        <constructor-arg index="1" value="jpg"/>
    </bean>
</beans>
以及在以下方面有任何错误:

<batch-int:remote-chunking-slave id="remote-chunking-slave" input-channel="requests" output-channel="replies"
                                     item-processor="itemProcessor" item-writer="itemWriter"/>

关于这里发生的事情,我能得到一些建议吗?

您使用的是什么版本?远程分块从属命名空间支持仅在最新快照中,而不是在发布的版本中。感谢您的建议,我使用的是spring批处理版本:3.1.0.BUILD-SNAPSHOT。我是SpringBatch的初学者,您能举一个SpringBatch远程Chunking的例子吗?我已经解决了这个问题,谢谢您的支持