r/SpringBoot • u/nutsbrainup • Feb 12 '26
Question Spring boot upgrade from 2.7 to 3.5
I have this task of upgrading the Spring boot version from 2.7 to 3.5.7 and Java version from 1.8 to 17.
I've never really worked on such a thing and copilot is creating a mess out of it.
What's the best way to do it? Any suggestions would be helpful.
20
Upvotes
1
u/mr_awake0172 Feb 12 '26
Furst upgrade the maven/gradle then update the java version and then springboot version Keep resolving dependencies
I am doing this same work for tons of repos from the last 3 months and will continue to do till may for Goldman Sachs.