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:

OptionShopEase value
ProjectMaven
LanguageJava
Spring Bootlatest stable 3.x (3.5.x), not a SNAPSHOT/M/RC version
Groupcom.shopease
Artifactshopease
Package namecom.shopease
PackagingJar
Java21 (or 17)
DependenciesSpring 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 shopease

Example 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
  ...