This is the home of the Spring Framework that underlies all Spring projects. Collectively the Spring Framework and the family of related Spring projects make up what we call "Spring".
Spring provides everything you need beyond the Java language to create enterprise applications in a wide range of scenarios and architectures. Please read the Overview section in the reference for a more complete introduction.
This project is governed by the Spring Code of Conduct. By participating you are expected to uphold this code. Please report unacceptable behavior to [email protected].
For Maven repository information see downloading Spring artifacts, or if unable to use Maven or other transitive dependency management tools, see building a distribution with dependencies.
The Spring Frameworks maintains reference documentation, Github wiki pages, and an API reference.
You can find guides and tutorials on https://spring.io.
The Spring Framework uses a Gradle build. In the instructions below, the Gradle Wrapper is invoked from the root of the source tree and serves as a cross-platform, self-contained bootstrap mechanism for the build.
To build you will need Git and
JDK 8 update 20 or later.
Be sure that your JAVA_HOME
environment variable points to the jdk1.8.0
folder
extracted from the JDK download.
Start by checking out the sources:
git clone [email protected]:spring-projects/spring-framework.git
To import into an IDE, ensure JDK 8 is configured. Then run ./import-into-eclipse.sh
or read import-into-idea.md. For IntelliJ please do read the
instructions as a straight-up import will not work.
To compile, test, build all jars, distribution zips, and docs use:
./gradlew build
To install all spring-* jars into your local Maven cache:
./gradlew install
Discover more commands:
./gradlew tasks
See also CONTRIBUTING and the Gradle build and release FAQ.
Follow @SpringCentral, @SpringFramework, and its team members on Twitter. In-depth articles can be found at The Spring Blog, and releases are announced via our news feed.
The Spring Framework is released under version 2.0 of the Apache License.