Upgrading from Spring Boot 2.5 to 2.7
-
Introduction5m
-
-
LockedUpdate the base Spring Boot version8mLockedLab: Update the base Spring Boot Version5mLockedUpdate Spring and Spring Boot dependencies5mLockedLab: Update the Spring/Spring Boot dependencies6mLockedUpdate non-Spring dependencies7mLockedLab: Update the Non-Spring Dependencies10mLockedSuccessful compilation7mLockedLab: Get the application to successfully compile again7m
-
-
CompletedConclusion
Level up with Spring Academy Pro
Ready to take your Spring skills to the next level? Upgrade to Spring Academy Pro and unlock access to all our Pro courses, lessons, labs—it’s everything you need to become a Spring Certified Professional.
In this lesson you learned the various ways you can find and remove explicit versions of non-Spring dependencies, letting Spring and other transitive dependencies manage them instead. In addition, you learned that if you do have to explicitly manage certain dependency versions, that you should configure them all in one place: the pom's <properties>
section, rather than scattering version numbers haphazardly across your pom files. This makes finding explicit versions simple. You only have the one place to look.
Next, you'll use these techniques to update our sample project's non-Spring dependencies in the lab!
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.