How to Create and Setup Spring Boot Project in Spring Tool Suite?

Last Updated : 24 Feb, 2026

Spring Boot is a java framework that simplifies the development of Java-based enterprise applications by reducing configuration and setup time. Spring Tool Suite (STS) is an Eclipse-based IDE specially designed to support Spring applications with built-in tools and features.

Prerequisites

  • Java Development Kit (JDK 11 or higher) installed
  • Basic knowledge of Java and Maven
  • Internet connection (to download dependencies)

Step-by-Step Implementation

Step 1: Install Spring Tool Suite (Spring Tools 4 for Eclipse)

Download and install the latest version of Spring Tool Suite from the official website.

Note: Make sure the installation is completed successfully before proceeding.

Step 2: Create a New Spring Starter Project

Open Spring Tool Suite (STS).

Go to :

 File -> New -> Spring Starter Project

This will open the Spring Starter Project configuration window.

Step 3: Fill Project Details

In the pop-up window, enter the required details:

  • Service URL: Default
  • Name: Your Project Name
  • Type: Maven Project
  • Java Version: 11 or greater than 11
  • Packaging: As your need
  • Language: As your need
  • Group:  A unique base name of the company or group that created the project
  • Artifact: A unique name of the project
  • Version: Default
  • Description: As your need
  • Package: Your package name

After filling in the details, click Next.

Step 4: Choose Spring Boot Version and Dependencies

Select the required Spring Boot version (choose the latest stable version). Select dependencies according to your project needs, such as:

  • Spring Web
  • Spring Data JPA
  • MySQL Driver
  • Spring Security
  • Lombok

After selecting dependencies, click Next.

Step 5: Finish Project Creation

Click the Finish button.

Now, wait for a few moments while STS downloads all required dependencies and sets up the project.

Project Structure

After successful setup, your project structure will look like this:

  • MainApplication.java -> Entry point of your Spring Boot application
  • application.properties -> Used for configuration
  • pom.xml -> Contains Maven dependencies
Comment