问题
Below is my code snippet that I am trying to execute in Spring batch:
@Bean
public Job ioSampleJob() throws Exception {
return this.jobBuilderFactory.get("DKSHSpringBatchApplication")
.incrementer(new RunIdIncrementer())
.start(step1()).next(step2())
.next(step3()).next(step4()).build();
}
Can anyone please help how I can execute my batch job. It was working fine initially but after several run it is just giving the old response.
来源:https://stackoverflow.com/questions/61042136/why-does-spring-batch-application-always-output-the-same