spring-core maven dependency

This page gives you a quick reference to get spring-core dependency for Maven or Gradle projects. You can also download the spring-core jar dependency, the link given at the "Download JAR File" section.

The spring-core is the main module that you will need for every Spring application. In this JAR file, you will find all the classes that are shared among all other Spring modules (for example, classes for accessing configuration files). Also, in this JAR, you will find selections of extremely useful utility classes that are used throughout the Spring codebase and that you can use in your own application.

Spring Core Maven Dependency

Copy below Spring Core maven dependency and paste in your project pom.xml file:
<!-- https://mvnrepository.com/artifact/org.springframework/spring-core -->
<dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-core</artifactId>
    <version>5.2.1.RELEASE</version>
</dependency>

Spring Core Gradle Dependency

Copy below Spring Core Gradle dependency and paste in your project build.gradle file:
// https://mvnrepository.com/artifact/org.springframework/spring-core
compile group: 'org.springframework', name: 'spring-core', version: '5.2.1.RELEASE'

Download JAR File

Check for Latest Release

Reference


Comments