...

/

Setting Up a Spring Web Application

Setting Up a Spring Web Application

Learn how to create a Spring MVC application that runs using an embedded Tomcat server.

Create a Spring Boot project from Spring Initializr. Spring Boot favors convention over configuration and provides default configurations for setting up a servlet container and configuring DispatcherServlet, which is the central servlet in Spring MVC applications.

Choose "Maven" as "Project", "Java" as "Language" and the latest stable version of Spring Boot. For the "Project Metadata" we have used the following:

  • Group: io.datajek.springmvc

  • Artifact:  ...