Improve notes for the import into IntelliJ IDEA
Closes gh-16874
This commit is contained in:
parent
7bf48ed3b7
commit
3a0f81c2bb
|
@ -201,13 +201,14 @@ need to import the root `spring-boot` pom and the `spring-boot-samples` pom sepa
|
||||||
|
|
||||||
|
|
||||||
=== Importing into IntelliJ IDEA
|
=== Importing into IntelliJ IDEA
|
||||||
The separate Maven import process that IntelliJ IDEA uses to parse a project structure
|
**Please, do this first!!!**
|
||||||
requires more memory. Before importing the project, we recommend increasing the memory
|
Go to `Preferences | Build, Execution, Deployment | Build Tools | Maven | Importing`
|
||||||
allocation in `Preferences | Build, Execution, Deployment | Build Tools | Maven |
|
and set `VM options for importer` to `-Xmx2g` to allocate sufficient memory for IDEA's
|
||||||
Importing`. Set the `VM options for importer` option to `-Xmx2g`.
|
Maven import process to parse the Spring Boot project structure. _Not doing so could
|
||||||
|
mean the import fails silently, leaving the project setup incomplete._
|
||||||
|
|
||||||
To open the project in IntelliJ IDEA, select "`File`" -> "`Open`" and then click on the
|
For the actual import use "`File`" -> "`Open`" and select the root `pom.xml`, or the
|
||||||
root `pom.xml`.
|
`spring-boot-project/pom.xml` if you only want the Spring Boot project sources.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue