org.springframework.batch.item.ItemStreamException: File already exists: [D:\projects\MBBatch\MBBatchCoreTests\target\output\output.txt]

Spring JIRA | Jimmy Praet | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0
  2. 0

    Root Cause Analysis

    1. org.springframework.batch.item.ItemStreamException

      File already exists: [D:\projects\MBBatch\MBBatchCoreTests\target\output\output.txt]

      at org.springframework.batch.item.util.FileUtils.setUpOutputFile()
    2. Spring Batch Infrastructure
      FileUtils.setUpOutputFile
      1. org.springframework.batch.item.util.FileUtils.setUpOutputFile(FileUtils.java:61)[spring-batch-infrastructure-2.2.7.RELEASE.jar:na]
      1 frame