我有类似这个的 Spring 批处理作业:
<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
最佳答案
问题是step1中缺少next属性:
<batch:step id="step1" next="step2">
关于spring - BeanDefinitionParsingException : Configuration: The element [step2] is unreachable,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20289814/