Upgrading from Spring Boot 2.7 to 3.1
Introduction
When we upgrade an application to a new version of Spring Boot, we change its dependencies and code so that it's based on the new version. This requires modification of the application dependencies, including Spring Boot, Spring, and third party libraries.
Basic upgrade process
Prepare
- Review the release notes for the target version of Spring
Assess
- Access and assess the application source code
- Establish a baseline - Known Good State (KGS)
Update
- Base Spring Boot dependency
- Spring/Spring Boot dependencies
- Non Spring managed dependencies as required
Test
- Update Test Dependencies
- Execute Test
- Run the application and test for parity
Release
We'll walk through these steps systematically, and you'll get a chance to practice everything in our interactive, hands-on labs. That's right -- you'll actually upgrade a Spring Boot 2.7 application to 3.1, right here in this course!
In this article
You're ready to get started!
Dan Frey
Staff Engineer II at VMware Tanzu
I focus on helping clients best utilize Spring and its derivative capabilities in various Cloud Environments.
Jonathan Newell
Staff Engineer II, Sr. Consultant, Cloud and Modern Applications Solutions Architect
Polyglot Engineer & Off-Roading Overlander with a passion for making peoples daily lives better through software.
Give Feedback
Help us improve by sharing your thoughts.