-
Jun 4th, 2010, 06:28 AM
#1
Problem with FlatFileItemReader
Hi friends,
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
Ankit Jain
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules