Spring Boot — Create the Project (Initializr)
July 23, 2025
Part (i). 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 = your
IndexNo(this becomes the project name) - Name = your
IndexNo - Packaging = Jar
- Java = 17 (or whatever is installed on the exam PC)
- 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).
The "extensions/dependencies" the question asks for are these four. Adding them here is how you score that part — no manual editing needed.
Next: [[spring-boot-mysql-setup]]. Overview: [[spring-boot-basics]].