Adding Spring Boot Modules to Existing Projects
This feature is supported in the Ultimate edition only.
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:
- Open the Project Structure dialog and select Modules in the left pane.
- Right click the project root and select Add | New Module from the context menu.
-
In the New Module wizard that opens, specify the Spring Initializr instance URL.
By default, it is
https://start.spring.io
, but you can use any other custom instance if needed. - 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.
- On the next page of the wizard, select the Spring Boot version and specify project dependencies.
- On the last page of the wizard, enter the module name, check the content root and module file location and modify them if needed.
See Also
```
Last modified: 21 March 2017