I have spring.jar in my classpath (ver 2.5.1). I have make a comparison od content of spring-jar and spring-aop.jar and it seems (I am not 100% sure) that all content of spring-aop.jar is in spring.jar.
To reproduce error just replace:
Code:
<bean id="fileLocator"
class="org.springframework.core.io.ClassPathResource">
<constructor-arg type="java.lang.String"
value="data/fixedLengthImportJob/input/20070122.teststream.ImportTradeDataStep.txt" />
</bean>
whit this:
Code:
<bean id="fileLocator"
class="org.springframework.batch.execution.resource.BatchResourceFactoryBean"
scope="step">
<property name="rootDirectory" value="file://c/gsm2/data/inct" />
<property name="filePattern" value="%BATCH_ROOT%/%JOB_NAME%" />
<aop:scoped-proxy />
</bean>
in fixedLengthImportJob.xml, and run that job through BatchCommandLineLauncher