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









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 the structure of Spring framework?
What is Maven dependency for Hibernate?
what is the use of Spring Framework
What are the different modules in Spring framework?
What are ORM’s Spring supports
What are Bean scopes in Spring Framework
What is Bean lifecycle in Spring framework?
What are the differences between EJB and Spring
What are the new features of Spring 4.1?
What is the difference between hibernate and spring
what are aws maven dependency in java
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?
What should I learn first Spring or Hibernate?
What is Spring?
What is maven dependency and how to use it in project?
Maven Repository/Dependency: spring | spring
what is diffrence between the spring and ejb which is better for small application - Spring
spring 5.4.1 maven dependency
Maven dependency for spring
Maven Repository/Dependency: spring | spring-webmvc
Maven Repository/Dependency: spring | spring-web
Maven Repository/Dependency: spring | spring-orm
Maven Repository/Dependency: spring | spring-mock
Maven Repository/Dependency: spring | spring-dao
Maven Repository/Dependency: spring | spring-core
Maven Repository/Dependency: spring | spring-context
Maven Repository/Dependency: spring | spring-beans
Maven Repository/Dependency: spring | spring-aop
spring-expression maven dependency
Maven Dependency spring >> 1.0.2
What are the best way to learn Spring & Hibernate Framework for a Java beginner?

Ads