From the course: Spring: Spring MVC
Unlock the full course today
Join today to access over 22,700 courses taught by industry experts or purchase this course individually.
Create Maven Spring MVC project
- [Instructor] Now that we've seen the Spring MVC architecture, we have done a lot of theory, let's get started with creating a basic Spring MVC project that is going to work with Maven. So let's go to the IntelliJ IDE because the first step tells me that we have to create a Maven web app archetype project. This is that IntelliJ IDE, so I'm just going to say file, new, let's hit project, make sure that Maven is selected, and check this box of create from archetype. The archetype that we're looking at is the Maven web app archetype, so if you just scroll down a little further you should be able to find it, which is this one. Then click on Next, and as usual with the Maven project you will have to specify the group ID and the Artifact ID. Let me mention that. This spring examples and artifact ID could be springmvcmaven. Click on Next. Now on this screen, whatever options that you see, let them be there as they are 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
-
-
-
(Locked)
Why use Spring MVC?3m 42s
-
(Locked)
Features of Spring MVC3m 40s
-
(Locked)
Spring MVC architecture2m 7s
-
(Locked)
Create Maven Spring MVC project3m 25s
-
(Locked)
Add folders and static files2m 27s
-
(Locked)
Java configuration for Spring MVC10m 9s
-
(Locked)
Add controllers and test the application4m 59s
-
(Locked)
Generate Spring MVC project with Spring Boot5m 13s
-
(Locked)
Add static files and view resolver5m 3s
-
(Locked)
Add controllers and test the application7m 14s
-
(Locked)
-
-
-
-
-
-
-
-