I had spring batch job similar to this one:
<batch:job id="job">
<batch:step id="step1">
...
</batch:step>
<batch:step id="step2">
...
</batch:step>
</batch:job>
and when tried to execute the job I got
BeanDefinitionParsingException: Configuration problem: The element [step2] is unreachable