BeanDefinitionParsingException:配置:元素 [step2] 无法访问

2024-03-15

我有与此类似的春季批量工作:

<batch:job id="job">
    <batch:step id="step1">
        ...
    </batch:step>
    <batch:step id="step2">
        ...
    </batch:step>
</batch:job>

当我试图执行我得到的工作时

BeanDefinitionParsingException: Configuration problem: The element [step2] is unreachable

问题是缺少了next步骤1中的属性:

<batch:step id="step1" next="step2">
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

BeanDefinitionParsingException:配置:元素 [step2] 无法访问 的相关文章

随机推荐