Hi mminella (or anyone else reading),
I've upgraded Spring to 2.5, and nothing seems to have broken. Happy days indeed.
However, when I've tried to implement a FlatFileItemReader (as below), I get the following error:
Code:
2012-10-04 08:58:03,242 ERROR core.step.AbstractStep:213 -> Encountered an error executing the step: class java.lang.NoSuchMethodError: org.springframework.core.io.Resource.isReadable()Z
Code:
<bean id="itemReader" class="org.springframework.batch.item.file.FlatFileItemReader" >
<property name="resource" value="file:C:/DJames/Batch/test_input.csv" />
<property name="lineMapper" ref="lineMapper"/>
</bean>
I've got the Spring.jar on my classpath (as provided with 2.5), and the Spring core jar on there too, both of which have a Resource class without the "isReadable" method.
Is the "isReadable" method a new dependency in a version of Spring Batch that isn't backwardly compatible with Spring 2.5?