title: java.lang.IllegalStateException: ItemWriter must be provided after updating spring batch to 4.1.1
body: <p>Previously, we were using <strong>Spring Batch 3.0.6</strong> and tried to update it to <strong>4.1.1</strong>. I have a job with only an <code>ItemReader</code> and an <code>ItemProcessor</code> - no <code>ItermWriter</code> provided. It was working fine before update.</p>
  
  <p>Now, I am getting: </p>
  
  <blockquote>
    <p><code>java.lang.IllegalStateException: ItemWriter must be provided.</code></p>
  </blockquote>
  
  <p>What is changed from previous version?</p>
  
  <pre><code>    &lt;job id="myJob" parent="baseJob"&gt;
          &lt;step id="myStep" parent="baseStep"&gt;
              &lt;tasklet&gt;
                  &lt;chunk reader="myItemReader" processor="myProcessor"
                         commit-interval="1" skip-limit="100000" retry-limit="1"&gt;
                      &lt;skippable-exception-classes&gt;
                          &lt;include class="ExceptionClass"/&gt;
                      &lt;/skippable-exception-classes&gt;
                      &lt;retryable-exception-classes&gt;
                          &lt;include class="ExceptionClass"/&gt;
                      &lt;/retryable-exception-classes&gt;
                  &lt;/chunk&gt;
              &lt;/tasklet&gt;
              &lt;listeners merge="true"&gt;
                  &lt;listener ref="promotionListener"/&gt;
                  &lt;listener ref="skippableExceptionListener"/&gt;
              &lt;/listeners&gt;
          &lt;/step&gt;
      &lt;/job&gt;
  </code></pre>