1. Carry your own local spring initialzr
Since https://start.spring.io is often unavailable, it is awkward to create a spring boot project occasionally, so it can be created locally
2. Clone the code
git clone https://github.com/spring-io/initializr.git
3. In the root directory of this project, execute mvn clean install -Pfull (maven needs to be installed on the premise)
4. When you see the following information:
[INFO] Spring Initializr ................................. SUCCESS [ 15.587 s]
[INFO] Spring Initializr :: Generator .................... SUCCESS [ 55.248 s]
[INFO] Spring Initializr :: Web .......................... SUCCESS [01:04 min]
[INFO] Spring Initializr :: Actuator ..................... SUCCESS [ 12.848 s]
[INFO] Spring Initializr :: Docs ......................... SUCCESS [ 40.392 s]
[INFO] Spring Initializr :: Service ...................... SUCCESS [ 29.324 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:38 min
[INFO] Finished at: 2018-03-05T16:01:01+08:00
[INFO] Final Memory: 59M/262M
[INFO] ------------------------------------------------------------------------
Indicates that the installation has been successful
5. The project has been installed to your local repository or your remote central repository
/Users/sendo/.m2/repository/io/spring/initializr/initializr-service/0.6.0.BUILD-SNAPSHOT/initializr-service-0.6.0.BUILD-SNAPSHOT.jar
6. Execute the jar file
java -jar initializr-service-0.6.0.BUILD-SNAPSHOT.jar --server.port=8081
7. Open the webpage, if the reality is as follows, it means success: