Problem Description Recently, when I was building a springboot project, I found that idea could not create a new project when connected to the company's network cable. The browser could not access https://start.spring.io, but my mobile hotspot could access it normally. I guess it was blocked. So for convenience, I plan to build the service on my own server with reference to online tutorials. Here my server is Centos7.6 Construction process First download the project and execute git clone https://github.com/spring-io/initializr.git If you don't have git, you need to install it first sudo yum install git In addition, the project depends on Maven, so you must first ensure that the Maven environment is installed on your computer. If there is no Maven, execute wget http://mirrors.tuna.tsinghua.edu.cn/apache/maven/maven-3/3.5.4/binaries/apache-maven-3.5.4-bin.tar.gz tar -zxvf apache-maven-3.5.4-bin.tar.gz sudo update-alternatives --install /usr/bin/mvn mvn /root/apache-maven-3.5.4/bin/mvn 1000 Then go to the downloaded folder cd initializr Execute the build command. This may be slow. Anyway, it took me a long time. ./mvnw clean install Then go to the initializr-service folder and execute cd initializr-service ../mvnw package After the build is successful, a target folder will be generated in the initializr-service folder. Enter the target folder. Here I specify the port number as 8082. Of course, you can modify it as needed. cd target nohup java -jar initializr-service.jar --server.port=8082 Finally, select custom when initializing springboot, and then enter your Summarize This is the end of this article about using idea to build a springboot initializer server. For more related idea initializer server content, please search 123WORDPRESS.COM's previous articles or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: How MySQL Select Statement is Executed
>>: Detailed explanation of basic syntax and data types of JavaScript
Written in front Environment: MySQL 5.7+, MySQL d...
This article shares the specific code of vue elem...
Nginx (engine x) is a high-performance HTTP and r...
Table of contents Preface Source code Where do I ...
This article shares a digital clock effect implem...
The first web page I designed is as follows: I ha...
Start a new project This article mainly records t...
Table of contents Preface Install vue-i18n Config...
When using docker images, images with both REPOSI...
I encountered a problem today: Can I use the as a...
In the front-end design draft, you can often see ...
1. CSS Navigation Bar (1) Function of the navigat...
Table of contents Proxy forwarding rules The firs...
Table of contents Common payment methods in proje...
Analyze the execution process. Move the mouse int...