Spring Boot Hello World

We will start with building our first Spring Boot application in this chapter. We will use Maven to manage dependencies.

The following steps are involved in starting up with a Spring Boot application:

  1. Configure spring-boot-starter-parent in your pom.xml file.
  2. Configure the pom.xml file with the required starter projects.
  3. Configure spring-boot-maven-plugin to be able to run the application.
  4. Create your first Spring Boot launch class.

Let's start with step 1: configuring the starter projects.

Get Mastering Spring 5.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.