Jun 4th, 2010, 06:28 AM
Problem with FlatFileItemReader
I am using 2.1.0.release spring batch version and facing problem while reading from a flat file.
Scenario is, in first step m loading file from ftp and saving the same in local hard disk. In next step i am reading the same file and updating database.
Even though first step gets completed successfully but FlatFileItemReader is not able to find the file and throws the exception "Input resource must exist (reader is in 'strict' mode): filename". I am running my application using eclipse 3.4.
but as soon as file gets generated if i refresh my classpath using eclipse FlatFileItemReader is able to locate the file
Any help will be really appreciated..
Thanks in advance