Spring Boot 2.x is out of open-source support
End of support. The source gives no day. Replacement: Spring Boot 4.1.x. Source: Spring Boot support policy.
Check a version:
evergreen check pkg:maven/org.springframework.boot/spring-boot
Spring Boot 2.x no longer receives regular open-source releases. Spring Boot 2.7 had an extended commercial support period, which is distinct from community OSS support. Upgrade to a supported Spring Boot 4.x line and follow the 2.x-to-3.x and 3.x-to-4.x migration guidance.
Look up another package or runtime · <form action="../lookup.html" method="get" role="search"> </form>
| Status | End of support |
| Severity | high |
| Ecosystem | java |
| Component | pkg:maven/org.springframework.boot/spring-boot |
| Affected versions | vers:maven/>=2.0.0\|<3.0.0 |
| Date from the source | The source gives no day |
| Replacement | Spring Boot 4.1.x |
| Evidence last seen | 2026-10-25 |
| Reviewed | 2026-10-25 by Aaqibhafeezkhan |
| Review due | 2027-04-23 (180 days after the last review) |
| Rule ID | java.maven.spring-boot.legacy-2x.end-of-support |
Sources
- Spring Boot support policy (accessed 2026-10-25)
Migration
Constraints
- Spring Boot 2.7’s extended commercial support does not mean the 2.x line remains in community open-source support.
- Spring Boot 3 requires Java 17 or later and includes the Jakarta EE namespace migration; complete the 2.x-to-3.x changes before moving to 4.x.
Steps
- Upgrade to a supported 3.x baseline first. Follow the official Spring Boot 3 migration guide, move to Java 17 or later, and migrate Java EE javax APIs to their Jakarta equivalents where required.
- Move to a supported 4.x release. Follow the Spring Boot 4 migration guide, align Spring Framework and managed dependencies, and remove configuration deprecated by the intermediate releases.
Verification
./mvnw -B verify || ./gradlew build: Build and run the project’s tests after the upgrade../mvnw -B dependency:tree || ./gradlew dependencies: Check that the resolved dependency graph uses a consistent supported Spring Boot line.
Detected by
The java detector. See Detectors and Compatibility.
Related
Other versions of this product
Same ecosystem
- Java 12 to 16 are no longer supported
- Java 18 to 20 are no longer supported
- Java 22 to 24 are no longer supported
- Java 26 is no longer supported
- Java 9 and 10 are no longer supported
- mysql:mysql-connector-java has moved to com.mysql:mysql-connector-j
- org.hibernate:hibernate-entitymanager has moved to org.hibernate.orm:hibernate-entitymanager
- org.slf4j:slf4j-log4j12 has moved to org.slf4j:slf4j-reload4j
Data
This page is generated from registry/java.json, rule java.maven.spring-boot.legacy-2x.end-of-support, in the ebb.registry.v2 format (how rules are written). A CLE (ECMA-428) export is not published yet. The same facts are embedded in this page as schema.org structured data.
Last updated