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.
Run the application - Spring Tutorial
From the course: Complete Guide to Spring MVC
Run the application
- [Instructor] Now you are ready to run the application. Before you do, there's one thing I want you to add if you do not already have that. Go to your greeting controller Java class, and add import org dot spring framework dot UI dot model, because we've added in the front end aspect to our application. So you want to make sure you call that out, and that should help solve any red line that you had from our previous video. Okay? So now we want to go to the Java class that has our main method in it. Which one is that? Do you remember? It is our initial Java class of Spring, well I called mine Spring Boot Spring MVC First App Application. If you called yours something else, that is okay. So we are going here because this is where we have our configuration and everything. Spring Boot is going to run from this class since this is like the engine room of our application. So what you're going to do is, you're going to make sure you navigate here. There's a few options, you can go ahead and…
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
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-