Upgrade the Blog Application Demo From Spring 2 to Spring 3!
āļāļąāļ
- āđāļāļĒāđāļāļĢāđāđāļĄāļ·āđāļ 4 āļŠ.āļ. 2024
- In this video, we're going to return to one of my previous tutorials where we put together an entire blog application from scratch.
We're going to go through the process of updating the application from Spring Boot 2, to Spring Boot 3!
I hope you had some fun with this tutorial!
===---=== Source Code ===---===
github.com/wazooinc/spring-bo...
===---=== Concepts & Technologies ===---===
- Spring Boot 3.0.0
- Thymeleaf
- Spring Web MVC
- H2 Database
===---=== Chapters ===---===
00:00 - Introduction
04:20 - Update javax.persistence.*
05:35 - Use spring-boot-validation
07:05 - Remove WebSecurityConfigurerAdapter
15:55 - Creating an ApplicationConfig Bean
#Java
#SpringBoot
#Tutorial
ðResources & Links mentioned in this video:
Spring Initializr: start.spring.io/â
Visual Studio Code: code.visualstudio.com/
ððŧConnect with me:
Twitter: / eyuzwa - āļ§āļīāļāļĒāļēāļĻāļēāļŠāļāļĢāđāđāļĨāļ°āđāļāļāđāļāđāļĨāļĒāļĩ
Please update more projects...you are awesome.
thank you!
My h2 database not showing any post table..while first running server...stuck as to how to solve it
do you see any error in the logs while starting up the server?
@@wazoowebbytes no there are no errors . It's starting perfectly.
@@anishkr7888 I can't recreate that. I see it every time in /h2-console. Have you tried shutting the server down, deleting the "data" folder, then starting it up again? (You probably already have, I'm just making sure)
@@wazoowebbytes it's giving error - 0 jpa interfaces found....even though I followed each line of code as u said...where m I getting wrong..please help
@@anishkr7888 the only other thing I can think of is that your repository object is somehow not declared or found correctly by spring boot. Is there a space at all in your project path?
why use ReqArgsConstrucotr anotation? doesnt make sense, you have no final fields in classes to compile contructor
Thanks for pointing that out - yeah in one of the versions of my codebase, I DID have a final field in that class, so it must've been a leftover from that work. Appreciate it!