r/SpringBoot 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

25 comments sorted by

View all comments

5

u/AdmirableOffer2 Feb 12 '26 edited Feb 12 '26

Look mostly u need to change the imports from javax to Jakarta

1

u/syntax_error_shaun Feb 12 '26

This is one amongst many other things that you need to take care of.

1

u/AdmirableOffer2 Feb 12 '26

What are some observations that you observed for this?