maven settings.xml 配置文件
如果pom.xml 如果哪里显示红色报错,请检查settings.xml配置的是否正确,如果没问题,仍然显示红色报错,那就将光标移到那一行,然后键入alt+enter,选择update
D:/server/maven/repository alimaven aliyun maven http://maven.aliyun.com/nexus/content/groups/public/ central nexus nexus local private nexus http://maven.oschina.net/content/groups/public/ true false nexus local private nexus http://maven.oschina.net/content/groups/public/ true false