There are many ways for creating the spring boot application. Such as
- Spring initializer
- Spring Boot Tool Suite
- Spring Boot CLI
- Eclipse or any other editor
In this blog I explained the how to create spring boot project using spring initializer. For creating spring boot project in the spring tool suite I have posted in separate blog, to know that please check here https://samplecoder.com/how-to-create-spring-boot-application-in-spring-initializer/ . Please follow the below steps to create the spring boot project using spring initializer. Spring Initializer is an online tool which is provided by the Spring Pivotal.
Steps for create spring boot project using Spring Initializer

- Go to https://start.spring.io/
- change the group and artifact
- Add the dependency (Spring Web, and others those you needed on project)
- Once you add all needed dependencies then click Generate to download the skeleton.
- Go to your download folder the extract it.
- Open your Spring boot tool suite or Eclipse or IntelliJ other Java
- Go to File > Import > Maven > Existing maven projects and choose the downloaded skeleton and import it.
- Now your spring boot application is ready. And you can add your functionality and run your application (Run > Run as > Spring boot app).
- Go to your browser and enter http://localhost:8080
Add Dependency & Generate:

Import in STS (Spring tool suite):




