What is the maven dependency for spring batch?

Ads
 

What is the maven dependency for spring batch?

Hi,

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?

Thanks

View Answers

October 20, 2015 at 4:01 AM

Hi,

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>

Thanks

Ads









Related Tutorials/Questions & Answers:
What is maven dependency for spring?
What is the maven dependency for spring batch?
Advertisements
What are the types of Dependency Injection Spring supports
What is Spring framework?
What is Spring's JdbcTemplate ?
What is Spring Integration?
What is Spring Framework Architecture ?
What are the benefits of Spring framework?
What are the Features of Spring Framework?
What is Spring IOC Container ?
ModuleNotFoundError: No module named 'BatchQ'
ModuleNotFoundError: No module named 'batchy'
spring 5.4.1 maven dependency
What is Spring framework?
Maven dependency for spring
What is the structure of Spring framework?
spring-expression maven dependency
what is the use of Spring Framework
What are the different modules in Spring framework?
What is Bean lifecycle in Spring framework?
What are ORM’s Spring supports
What are Bean scopes in Spring Framework
What are the differences between EJB and Spring
Maven Dependency spring >> 1.0.2
spring boot 2.2.0 maven dependency
spring boot maven dependency for mysql
spring 5.4.2 maven dependency
spring modelandview maven dependency
What is the difference between hibernate and spring
spring context dependency maven code
What are the new features of Spring 4.1?

Ads