Alphalearningschool
        

<<< Prev

Next >>>

Up
Spring Boot using STS

Now let us build a Spring Boot application using STS(Spring Tool Suite) from Scratch.

Steps to create a Spring Boot Application:

 1. First, create a Spring Starter Project.

 

 2. Then provide project Name, artifact and package name.

 

 3. Choose dependencies required to create Spring Boot application and click on next.

 

 4.Now tap on the finish and your Spring Boot project is created.

 

Adding Dependencies:

              While creating a spring Boot application, it is very important to add a correct dependency. There is a huge list of dependencies provided by Pivotal team. While adding dependencies to the Spring Boot Application we don’t need to mention the version of dependency added. Spring Boot itself automatically configures the version based on release.

Usually, Pivotal Team provides a Spring Boot starter parent dependency. So we have to inherit this dependency to manage all Spring Boot Starter dependencies.