title: BeanDefinitionParsingException: Configuration: The element [step2] is unreachable
body: <p>I had spring batch job similar to this one:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;batch:job id="job"&gt;
      &lt;batch:step id="step1"&gt;
          ...
      &lt;/batch:step&gt;
      &lt;batch:step id="step2"&gt;
          ...
      &lt;/batch:step&gt;
  &lt;/batch:job&gt;
  </code></pre>
  
  <p>and when tried to execute the job I got</p>
  
  <pre class="lang-none prettyprint-override"><code>BeanDefinitionParsingException: Configuration problem: The element [step2] is unreachable
  </code></pre>