Spring Boot — Create the Project (Initializr)
July 5, 2026
The easiest way to create the project is the official Spring Initializr — it scaffolds the whole thing.
Steps
- Open https://start.spring.io.
- Set the options exactly like this:
- Project = Maven
- Language = Java
- Spring Boot = leave the default (a 3.x version)
- Group =
com.example - Artifact =
myapp(this becomes the project name) - Name =
myapp - Packaging = Jar
- Java = 17 (or whichever JDK you have installed)
- Click ADD DEPENDENCIES (top right) and add these four:
- Spring Web
- Spring Data JPA
- Rest Repositories
- MySQL Driver
- Click GENERATE — a
.zipdownloads. Unzip it. - Open the unzipped folder in your IDE (IntelliJ IDEA, or Eclipse / VS Code with Spring support).
Adding the dependencies here writes them straight into
pom.xml— no manual editing needed afterwards.
Next: [[spring-boot-mysql-setup]]. Overview: [[spring-boot-basics]].