What is the maven dependency for spring batch?

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
ModuleNotFoundError: No module named 'BatchQ'
ModuleNotFoundError: No module named 'batchy'
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 ?
What is Spring framework?
What is Maven dependency for Hibernate?
What is the structure of Spring framework?
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
What are the new features of Spring 4.1?
what are aws maven dependency in java
What is the difference between hibernate and spring
What is the best way to learn spring boot
What is the best way to learn spring boot
What are the concepts and purpose of Spring configuration file.
What are some good spring online courses?
What are the ways to access Hibernate using Spring
What are some good spring online courses?
What is Spring Struts Hibernate DAO Layer?

Ads