💾Thananjhayan
← Back to notes

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

  1. Open https://start.spring.io.
  2. 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)
  3. Click ADD DEPENDENCIES (top right) and add these four:
    • Spring Web
    • Spring Data JPA
    • Rest Repositories
    • MySQL Driver
  4. Click GENERATE — a .zip downloads. Unzip it.
  5. 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]].

💬 Comments