This version is still in development and is not considered stable yet. For the latest stable version, please use Spring Boot 3.5.5!spring-doc.cn

System Requirements

Spring Boot 4.0.0-M2 requires at least Java 17 and is compatible with versions up to and including Java 24. Spring Framework 7.0.0-M8 or above is also required.spring-doc.cn

Explicit build support is provided for the following build tools:spring-doc.cn

Build Tool Version

Mavenspring-doc.cn

3.6.3 or laterspring-doc.cn

Gradlespring-doc.cn

Gradle 8.x (8.14 or later) and 9.xspring-doc.cn

Servlet Containers

Spring Boot supports the following embedded servlet containers:spring-doc.cn

Name Servlet Version

Tomcat 11.0.xspring-doc.cn

6.1spring-doc.cn

Jetty 12.1.xspring-doc.cn

6.1spring-doc.cn

You can also deploy Spring Boot applications to any Servlet 6.1+ compatible container.spring-doc.cn

GraalVM Native Images

Spring Boot applications can be converted into a Native Image using GraalVM 22.3 or above.spring-doc.cn

Images can be created using the native build tools Gradle/Maven plugins or native-image tool provided by GraalVM. You can also create native images using the native-image Paketo buildpack.spring-doc.cn

The following versions are supported:spring-doc.cn

Name Version

GraalVM Communityspring-doc.cn

22.3spring-doc.cn

Native Build Toolsspring-doc.cn

0.11.0spring-doc.cn