Spring Batch Java Config: Skip step when exception and go to next steps
问题 e.g. i have 3 Steps in Job (similar to Step1): @Autowired private StepBuilderFactory stepBuilderFactory; @Bean public Step step1() { return stepBuilderFactory .get("step1") .<String, String> chunk(1) .reader(reader()) .processor(processor()) .writer(writer()) .build(); } How go to Step 2 and 3 even after exception in Step 1? I mean configuration in Java. 回答1: Here is an example on how to configure it when creating a flow. That should be similar to configure it directly with the job builder: