Create spring boot project in Spring tool suite [STS]

Hey guys in post, we will learn how to create spring boot project in STS. There are many ways to create spring boot project, Spring tool suite (STS) IDE also provide an option to create spring boot project. Let’s see the steps to create spring boot project in STS

Download STS

First, download the STS and install on your system. It is free and available for all platforms

Download the STS IDE from here

Create spring boot starter project

Open STS IDE Select File -> New -> choose Spring starter project

spring starter projectIt will open the configuration window, and enter the following details

  • Project name – demoproject
  • Type – maven
  • Packaging – jar
  • Java version – 8
  • Language – Java
  • Group – in.bushansirgur
  • Artifact – demoproject
  • Version – 0.0.1-SNAPSHOT
  • Description – Demo of the spring boot project
  • Package – in.bushansirgur.demoproject

spring boot configuration

Once entered all the details click next, it will ask us to select spring boot version and dependencies

  • Spring boot version – 2.4.2
  • Maven dependencies
    1. spring web
    2. spring boot devtools

Once selected all the dependencies, click finish. This will create the spring boot project and open it in STS. 

Sometimes, due to the bad internet connection, it will not able to download the dependencies. So let’s manually update the spring boot project. Right click on the project -> maven -> select update project this will download and update the maven dependencies.update maven project

Once it downloaded all the dependencies, we can run the spring boot project by clicking on the run button.

run spring boot project

That’s all for this article, in the next article let’s see the another way of creatingtools spring boot project using Spring initializr

Bushan Sirgur

Hey guys, I am Bushan Sirgur from Banglore, India. Currently, I am working as an Associate project in an IT company.

Leave a Reply