Spring boot 3.0 - The full migration guide

preview_player
Показать описание

Spring boot version 3.0 is officially released now.
Migrating to this new version is not straight forward so I decided to male a video to show the migration steps step by step.
In this video you will learn:
The new features and major changes of Spring v3.0
How to migrate step by step
Rename the Jakarta EE packages and fix the compile issues
Handle and fix the Spring security changes and deprecations
Upgrade and fix the JWT token security and upgrade the jjwt dependencies
Understand and fix the trailing slashes issue

Don't Forget to
===========================================
💯 Subscribe to the youtube channel

Table of content

00:00 Introduction
01:33 What's new in Spring boot 3.0
04:20 Migrate to Spring boot V2.7.x first
06:25 Java 17 is mandatory
07:23 Upgrade the Spring boot to V3.0.0
08:14 Rename the Jakarta packages
11:25 Handle the Spring security changes
19:04 Test the changes
21:54 Upgrade the JJWT dependency
29:30 Fix the trailing slashes issue
33:31 Thank you for watching
Рекомендации по теме
Комментарии
Автор

Join the Micro Services course waiting list and get and get an exclusive *EARLY-BIRD discount*

BoualiAli
Автор

Thanks a lot Ali for all the videos, really appreciate for all you videos, if you can do some videos about design pattern (strategy, observer, decorator, composite, adapter, proxy...) thanks advance

da-cthr
Автор

Thank you for your great video. Unfortunately, I am facing issues while migrating to Spring Boot 3 with the updated Spring Security. The non-authenticated endpoints are working as expected, but the authenticated endpoints are not working. I am using AbstractLdapAuthenticationProvider, so I would like to know what changes are required. Additionally, I am using custom authentication and authorization filters.

swapnilchavhan
Автор

Well played Sir at the start. Update to the latest 2.7.x version, is alrdy 7 versions update for me to 2.7.7.
Thats a like in 2 minutes for you.

sactorius
Автор

I have done spring security changes after migrating spring boot to 3.0.5 version. I am not able to see UI after this and its not throwing any error at client side or server side

sapthamind
Автор

Hi, how to replace @Output used in messagechannel stream integration as it was depricated since springboot 3.0.0

Monishsview
Автор

Bouali Ali, I wonder how we will introduce role-based protection in the new version. and also how to do Spring Securrity Exception Handling. will you make a video for this?

ismailkaraca
Автор

sir, plz make a video on oAuth in spring boot 3.0.

a.m.jyotiprakashsahu
Автор

I can't find a video for migrating to 2.7.x. Could someone post url to that video?

TheMrSimonk
Автор

Thank you for your video. If we try to use Spring Boot 3.0.0, can we also use Feign Client?

ainigma
Автор

Hello @Ali, any plans to cover GraphQL in one of your videos ?

YounesREGAIEG
Автор

Can you help us on how to use openApi and generate API documentation in spring boot 3.0. Please

AmadouSene-knpi
Автор

Hi? can you make a tutorial about spring batch?

crazyidea
Автор

Hi, with spring boot 2.7 I use javax.sql.datasource, there is a jakarta datasource with spring boot 3?

AstridTchouteng
Автор

🙏 In MY spring boot project, in the jsp page, <jsp:include tag is not able to include.html file only .jsp file it is including. why? could you please help me on this. i am using spring boot version 2.7.12

manoj
Автор

It seems like the way it used to support jsp in springboot 2 has been changed a lot in springboot 3 version. Code won't give any error but the jsp page doesn't showup. Instead it keeps saying too many redirects? Any idea what to be changed on mvc for jsp view?

yoogeshsharma
Автор

Hi, after migration I'm getting this error message when I try to run application The following classes could not be excluded because they are not auto-configuration classes:
-
Can you help please

vaughnnze
Автор

Can you add a link to the "bank" project in the description?

idouxda
Автор

Hi Slut ali! I went searching for the code you use in this tutorial. I want to know if there is a video where you actually build this app in the first place (I am learning spring boot and i would like to see it to gain more knowledge) . Thank you

anes
Автор

please provide the source code of this project

ArvindGupta-zexf
welcome to shbcf.ru