rg.springframework.batch.item.WriterNotOpenException: Writer must be open before it can be written to at org.springframework.batch.item.file.FlatFileItemWriter.write (FlatFileItemWriter.java:255)

  1. 0

    Unable to write to FlatFile using Spring batch

    Stack Overflow | 3 months ago | Sumateja Konge
    rg.springframework.batch.item.WriterNotOpenException: Writer must be open before it can be written to at org.springframework.batch.item.file.FlatFileItemWriter.write (FlatFileItemWriter.java:255)

    Root Cause Analysis

    1. rg.springframework.batch.item.WriterNotOpenException

      Writer must be open before it can be written to at org.springframework.batch.item.file.FlatFileItemWriter.write (FlatFileItemWriter.java:255)

      at sun.reflect.NativeMethodAccessorImpl.invoke0()
    2. Java RT
      NativeMethodAccessorImpl.invoke0
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      1 frame