Create Spring Boot Project in Spring Tool Suite [STS]

In the previous article, we have seen how to Create Spring Boot Project With Spring Initializer. In this article, we will see step by step, how to create a Spring Boot project in STS (Spring Tool Suite).

Download the latest Spring tool suite, if you don’t have already from the following link for your respective operating system:

Set up a workspace and click on Launch will open STS explorer.

Create Spring Boot Project in Spring Tool Suite [STS]

The below gif image shows step by step process to create a Spring boot project in STS:
Follow the below steps:

1. Right-click in the package explorer and select New -> Spring Starter Project

2. Specify project details

Look at the above diagram, we have specified following details:
  • Generate: Maven Project
  • Language: Java
  • Java Version: 1.8 (Default)
  • Spring Boot: 2.1.4
  • Group: com.springboot.tutorial
  • Artifact: springboot-helloworld-tutorial
  • Name: com.springboot.tutorial
  • Description: Demo project for Spring Boot
  • Package Name : com.springboot.tutorial
  • Packaging: jar (This is the default value)
  • Dependencies: Web, JPA, MySQL, Dev Tools
Once you click Finish, Maven would take some time to download all the dependencies and initialize the project.

3. Project Structure


This tutorial is explained in the below Youtube Video. Subscribe to my youtube channel to learn more about Spring boot at Java Guides - YouTube Channel.

That’s it. Your first Spring Project is Ready.

Check out complete Spring boot tutorial at Master in Spring Boot Tutorial.