Member-only story
Challenges for Spring Boot Migration Journey from 2 to 3
My articles are open to everyone; non-member readers can read the full article by clicking this link.
Hello developers. Welcome to my new article. In today’s article, I am going to share my Spring Boot upgrade journey from 2.6.4 to 3.2.3 with you. Let’s begin directly with the first challenge.
Challenge #1: Gradle Wrapper Version
I don’t remember exactly which version I was using with Spring Boot 2.6.4, however, when you upgrade to Spring Boot 3.2.3, you have to upgrade Gradle Wrapper version as well.
Use following command to update Gradle Wrapper version.
./gradlew wrapper - gradle-version <version>
You don’t need to worry about the version, because when you execute the Gradle Wrapper, it will tell you to upgrade Gradle Wrapper to specific version.
It is highly recommended to use Wrapper versions of build tools which brings flexibility and convenience for developers.
If you are using Maven, refer to this article for further information.