IntelliJ IDEA 2024.2 Help

Spring Boot project wizard

Use the Spring Boot project wizard to generate a new Spring Boot project in IntelliJ IDEA.

Create Spring Boot project

  1. In the main menu, go to File | New | Project.

  2. In the New Project dialog, select Spring Boot.

For more information, refer to Create a new Spring Boot project via the Spring Boot wizard.

Step 1. Basic project configuration

First step of the New Spring Initializr Project wizard

Server URL

Use the default https://start.spring.io/ service or specify a custom instance. For more information, refer to Creating your own instance.

Name

Specify a name for your project.

Location

Specify the path to the directory in which you want to create the project. By default, the IDE creates a directory with the same name as the project.

Language

Select the language that you want to use in your application.

Type

Select the build tool to use for managing dependencies, testing, packaging, automating the build process, and so on: Gradle - Groovy, Gradle - Kotlin, or Maven.

Group

Specify the unique group identifier for your project. It should preferably start with the reversed domain name you control (for example, com.example).

Artifact

Specify a name for the artifact within the group, usually the project's name.

Package name

Specify the root package of the project. This is usually a combination of the group and artifact names, for example: com.example.springdemo.

JDK

From the JDK list, select the JDK that you want to use in your project.

If the JDK is installed on your computer, but not defined in the IDE, select Add JDK and specify the path to the JDK home directory.

If you don't have the necessary JDK on your computer, select Download JDK.

Java

Select the Java version that the initializing service should use.

Packaging

Select whether you want to package the app as a JAR or WAR.

Step 2. Spring Boot dependencies

Second step of the New Spring Initializr Project wizard

Spring Boot

Select the Spring Boot version.

Download pre-built shared indexes for JDK and Maven libraries

Silently download the pre-built shared indexes for JDK and Maven libraries instead of building the indexes. For more information, refer to Shared indexes.

Dependencies

Select starters and dependencies for your project. If you select technologies that require additional plugins, the IDE will notify you about it once the project is created, and will suggest installing or enabling them.

Last modified: 11 October 2024