You can use this pre-initialized project and click Generate to download a ZIP file. This project is configured to fit the examples in this tutorial.
| Setting | Value |
|---|---|
| Project | Maven |
| Language | Java |
| Spring Boot | 4.0.0 |
| Group | com.example |
| Artifact | rest-service |
| Java | 17 |
| Dependencies | Spring Web |
To manually initialize the project:
- Navigate to https://start.spring.io. This service pulls in all the dependencies you need for an application and does most of the setup for you.
- Choose Maven and Java.
- Select Spring Boot 4.0.0 and Java 17.
- Type "rest-service" in the "Artifact" form field.
- Click Dependencies and select Spring Web.
- Click Generate.
- Download the resulting ZIP file, which is an archive of a web application that is configured with your choices.
If your IDE has the Spring Initializr integration, you can complete this process from your IDE.
You can also fork the project from Github and open it in your IDE or other editor.
