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 Integration?
What is Spring's JdbcTemplate ?
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 the structure of Spring framework?
ModuleNotFoundError: No module named 'BatchQ'
ModuleNotFoundError: No module named 'batchy'
Maven dependency for spring
spring-expression maven dependency
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 is the difference between hibernate and spring
spring boot 2.2.0 maven dependency
Maven Dependency spring >> 1.0.2
What are the new features of Spring 4.1?
What is Maven dependency for Hibernate?
spring modelandview maven dependency
spring context dependency maven code
spring-context maven dependency
What are the concepts and purpose of Spring configuration file.
Maven Dependency spring-aop >> 1.0.2

Ads