I have a project and I downloaded the example code of running the batch program in Eclipse. But it is not able to find the following classes:
import org.springframework.batch.core.StepContribution; import org.springframework.batch.core.scope.context.ChunkContext; import org.springframework.batch.core.step.tasklet.Tasklet; import org.springframework.batch.repeat.RepeatStatus;
My project is based on the maven tool. What is the maven dependency for spring batch?
The latest release of spring batch is 3.0.5 and it was released on Aug 10, 2015.
You can add the following dependency in your project to resolve the compilation error:
<dependency> <groupId>org.springframework.batch</groupId> <artifactId>spring-batch-core</artifactId> <version>3.0.5.RELEASE</version> </dependency>