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

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…

Contents