how to properly update spring version?
hi guys. i have java project and current spring version is
2.2.6
. i need to update the version to the newest. as i understand its 3.3.3
. so i have a couple of questions;
1. since i use gradle, i just need to change the version here?
2. is there smth to look out for when updating spring version in my project?
thanks in advance3 Replies
⌛
This post has been reserved for your question.
Hey @bambyzas! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
To update the Spring Boot version in your Gradle project, you would change the version in the plugins section of your
build.gradle
file like this:
Spring Boot 3.x requires Java 17 or higher. Ensure your JAVA_HOME is set to Java 17 or later, and update your build.gradle
file if necessary:
Make sure that the other dependencies in your project are compatible with Spring Boot 3.x, as there may have been breaking changes. Review third-party libraries to ensure they support this version.
After updating, run a full build and test suite to catch any potential issues early.💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.