spring batch : Tasklet without ItemWriter
I defined my tasklet without ItemWriter like this : <b:tasklet> <b:chunk reader="baseReader" processor="baseProcessor" commit-interval="100" /> </b:tasklet> and i got this error : Configuration problem: The <b:chunk/> element has neither a 'writer' attribute nor a <writer/> element. Do you have any idea ? Thanks Well, in a chunk, A reader and a Writer are MANDATORY! however, The ItemProcessor is optional. This is from the official doc : 5.1.1. Configuring a Step Despite the relatively short list of required dependencies for a Step, it is an extremely complex class that can potentially contain