IntelliJ IDEA 2016.2 Help

Adding Spring Boot Modules to Existing Projects

You can either create a new Spring Boot module manually through Maven/Gradle, or use the Spring Initializr service.

To create a new Spring Boot module and add it to a project through IntelliJ IDEA, perform the following steps:

  1. Open the Project Structure dialog and select Modules in the left pane.
  2. Right click the project root and select Add | New Module from the context menu.
  3. In the New Module wizard that opens, specify the Spring Initializr instance URL. By default, it is, but you can use any other custom instance if needed.

    Click Next to continue.

  4. On the next page of the wizard, specify project metadata settings. Note that specific fields vary slightly depending on the Spring Initializr instance URL you specified in the previous step.

    Click Next to continue.

  5. On the next page of the wizard, select the Spring Boot version and specify project dependencies.

    Click Next to continue.

  6. On the last page of the wizard, enter the module name, check the content root and module file location and modify them if needed.

    Click Finish to complete the wizard.

See Also

Last modified: 5 September 2016