From the course: Complete Guide to Spring MVC
Unlock this course with a free trial
Join today to access over 24,600 courses taught by industry experts.
Starting with Spring Initializr - Spring Tutorial
From the course: Complete Guide to Spring MVC
Starting with Spring Initializr
- [Instructor] This option is for starting with Spring Initializr. Let's walk through, once we get here, everything that we need to add or change to select the right dependencies for our project. Starting off, you have the project option here. Go ahead and select Maven. For language, we have Java. For the Spring Boot version, we want to use the most recent and most stable version. So the 3.4, which is the version that we have at the time of this filming. For the group ID, I'm going to put come.springmvctutorial, and then for the artifact ID, I'm going to put springboot-springmvc-firstapp. Okay. For description and package name, you can keep those as is. For packaging, keep Jar because we're running our project as a standalone application. And then for Java version, remember we just downloaded Java version 23. So make sure you select 23 here. Okay, so now, we need to add dependencies. So go ahead and select add dependencies, and we're going to type in spring web right there. Select…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
What you will build and what you need2m 50s
-
Start from scratch vs. skipping the basics1m 41s
-
(Locked)
Starting with Spring Initializr4m 49s
-
(Locked)
Skip basics: Source repository for this guide1m 46s
-
(Locked)
Create a web controller9m 13s
-
(Locked)
Spring Boot devtools4m 45s
-
(Locked)
Run the application2m 38s
-
(Locked)
Test the application2m 7s
-
(Locked)
Add a home page5m 11s
-
(Locked)
Summary and next steps4m 57s
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-