Configuring a Spring MVC Application

Learn how to configure a Spring MVC application.

To set up a starter project for MVC, go to Spring Initializr. We will fill the form with the following information:

  • Group: io.datajek.springmvc

  • Artifact: tennis-player-web

We will add the following dependencies:

  • Spring Boot Starter MVC

  • DevTools

After generating the project and importing it in the IDE, we can see the three dependencies that we just added in the pom.xml file.

Level up your interview prep. Join Educative to access 80+ hands-on prep courses.