Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Java AspectJ Groovy HTML CSS GAP
branch: master

This branch is even with spring-projects:master

Investigate claims raised in SPR-13211

This commit adds additional tests to RequestContextHolderTests that
verify proper support for the MockHttpServletRequest managed by Spring
MVC Test in the following scenarios:

- request-scoped service invoked by controller
- session-scoped service invoked by controller
- custom filter that sets request attributes

Issue: SPR-13211
latest commit 3c2efeece4
@sbrannen authored
Failed to load latest commit information.
.settings/gradle Remove spring-asm and inline ASM 4 into spring-core
buildSrc/src/main Fix maven dependency scope conflicts in MergePlugin
gradle Upgrade build to Gradle 2.4
spring-aop/src Common code in AsyncExecutionAspectSupport allows for CompletableFutu…
spring-aspects Common code in AsyncExecutionAspectSupport allows for CompletableFutu…
spring-beans-groovy/src/main Class identity comparisons wherever possible
spring-beans/src YamlProcessor explicitly closes UnicodeReader
spring-context-support/src Delete trailing whitespace in XML files
spring-context Explicit notes for load-time weaving on Tomcat 7.0.63+ and WildFly 9
spring-core/src Polishing
spring-expression Suppress warnings in spring-expression tests
spring-framework-bom Add a 'bill of materials' project for Maven users
spring-instrument-tomcat/src Explicit notes for load-time weaving on Tomcat 7.0.63+ and WildFly 9
spring-instrument/src Harmonize log configuration
spring-jdbc/src Delete trailing whitespace in XML files
spring-jms/src Add support for repeatable JmsListener
spring-messaging/src Polishing
spring-orm-hibernate4/src SpringSessionSynchronization's beforeCompletion unbinds after disconn…
spring-orm-hibernate5/src/main/java/org/springframework/orm/hibernate5 SpringSessionSynchronization's beforeCompletion unbinds after disconn…
spring-orm/src Note on 'generateDdl' versus JPA 2.1 schema generation
spring-oxm XML parsing tests pass on non-English locales now, plus a revised exc…
spring-test Investigate claims raised in SPR-13211
spring-tx/src Delete trailing whitespace in XML files
spring-web/src Polish @CrossOrigin javadoc
spring-webmvc-portlet/src Split between basic MethodParameter and SynthesizingMethodParameter
spring-webmvc-tiles2/src Suppress warnings in tests
spring-webmvc/src Add Access-Control-Request-Method check for CORS preflight requests
spring-websocket/src Avoid duplicates from <websocket:decorator-factory>
src Improve STOMP section of documentation
.gitignore Add .gradletasknamecache to .gitignore
.mailmap Change to
build.gradle Latest dependency updates (Jackson 2.6 RC3, JavaMail 1.5.4, JRuby 1.7… Remove Gradle Daemon JVM args compatible with JDK 9
gradlew Replace MaxPermSize use in build scripts
gradlew.bat Upgrade to Gradle 1.8 and propdeps 0.0.5
import-into-eclipse.bat Fixed URLs in import-into-eclipse scripts Update Eclipse project import script Update IDEA guidelines
settings.gradle Support for Hibernate ORM 5.0 Beta 2

Spring Framework

The Spring Framework provides a comprehensive programming and configuration model for modern Java-based enterprise applications -- on any kind of deployment platform. A key element of Spring is infrastructural support at the application level: Spring focuses on the "plumbing" of enterprise applications so that teams can focus on application-level business logic, without unnecessary ties to specific deployment environments.

The framework also serves as the foundation for Spring Integration, Spring Batch and the rest of the Spring family of projects. Browse the repositories under the Spring organization on GitHub for a full list.

Downloading Artifacts

See downloading Spring artifacts for Maven repository information. Unable to use Maven or other transitive dependency management tools? See building a distribution with dependencies.


See the current Javadoc and reference docs.

Getting Support

Check out the spring tags on Stack Overflow. Commercial support is available too.

Issue Tracking

Report issues via the Spring Framework JIRA. Understand our issue management process by reading about the lifecycle of an issue. Think you've found a bug? Please consider submitting a reproduction project via the spring-framework-issues GitHub repository. The readme there provides simple step-by-step instructions.

Building from Source

The Spring Framework uses a Gradle-based build system. In the instructions below, ./gradlew is invoked from the root of the source tree and serves as a cross-platform, self-contained bootstrap mechanism for the build.


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.

Check out sources

git clone

Import sources into your IDE

Run ./ or read as appropriate.

Note: Per the prerequisites above, ensure that you have JDK 8 configured properly in your IDE.

Install all spring-* jars into your local Maven cache

./gradlew install

Compile and test; build all jars, distribution zips, and docs

./gradlew build

... and discover more commands with ./gradlew tasks. See also the Gradle build and release FAQ.


Pull requests are welcome; see the contributor guidelines for details.

Staying in Touch

Follow @SpringCentral as well as @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.

Something went wrong with that request. Please try again.