It is usually a network problem. You can add a parameter archetypeCatalog=internal in Properties, or use a more domestic maven image, such as Alibaba Cloud:
When creating the project, I will use the template file in the Maven repository, but it suddenly becomes very large, more than 5M, and it takes a long time to open the browser and still have a good network. The solution is, 1. Download http://repo1.maven.org/maven2... 2. Put it in the archetype folder of the local Manen warehouse 3. Set up the VM of the IDEA Maven->Runner interface The Options parameter value is -DarchetypeCatalog=local 4. Refresh the project Maven configuration, and reintroduce Maven in the right interface of the project
It is usually a network problem. You can add a parameter archetypeCatalog=internal in Properties, or use a more domestic maven image, such as Alibaba Cloud:
Add this

When creating the project, I will use the template file in the Maven repository, but it suddenly becomes very large, more than 5M, and it takes a long time to open the browser and still have a good network.
The solution is,
1. Download http://repo1.maven.org/maven2...
2. Put it in the archetype folder of the local Manen warehouse
3. Set up the VM of the IDEA Maven->Runner interface The Options parameter value is -DarchetypeCatalog=local
4. Refresh the project Maven configuration, and reintroduce Maven in the right interface of the project