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)

Stack Overflow | Sumateja Konge | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Unable to write to FlatFile using Spring batch

    Stack Overflow | 5 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