Find the settings.xml file in the conf folder in the maven directory, and add the following configuration to the child node of mirrors, programming tools
<mirror> <id>nexus-aliyun</id> <mirrorOf>*</mirrorOf> <name>Nexus aliyun</name> <url>http://maven.aliyun.com/nexus/content/groups/public</url> </mirror>