Careeroza
Spring Initializr
Generate the Project
Go to start.spring.io (or in IntelliJ: New Project → Spring Boot; in VS Code: Spring Initializr: Create a Maven Project) and choose:
| Option | ShopEase value |
|---|---|
| Project | Maven |
| Language | Java |
| Spring Boot | latest stable 3.x (3.5.x), not a SNAPSHOT/M/RC version |
| Group | com.shopease |
| Artifact | shopease |
| Package name | com.shopease |
| Packaging | Jar |
| Java | 21 (or 17) |
| Dependencies | Spring Web, Spring Boot DevTools |
Click Generate, unzip, and open the folder in your IDE. The IDE downloads the dependencies the first time (a few minutes on a slow connection).
From the Command Line
Example
Initializr also has an HTTP API, handy on a server or in scripts:
curl https://start.spring.io/starter.zip \
-d type=maven-project -d language=java -d javaVersion=21 \
-d groupId=com.shopease -d artifactId=shopease -d name=shopease \
-d dependencies=web,devtools -o shopease.zip
unzip shopease.zip -d shopeaseExample output
% Total % Received % Xferd Average Speed Time 100 58431 100 58431 0 0 91234 0 --:--:-- --:--:-- --:--:-- 91264 Archive: shopease.zip inflating: shopease/pom.xml inflating: shopease/mvnw inflating: shopease/src/main/java/com/shopease/ShopeaseApplication.java ...