Spring Boot 4 · Create and run
Generate a project
Download a starter project from start.spring.io with the dependencies you choose.
curl https://start.spring.io/starter.zip -d type=maven-project -d language=java -d dependencies=web,data-jpa,actuator -d name=demo -o demo.zip
Official Spring Boot 4 documentation