如果在pom.xml总是显示找不到对应的包,那么应该考虑一下是否是settings.xml中设置的镜像源地址不正确。 按照此前我在网上寻找的阿里镜像大多是下面这种: <mirror> <id>nexus-aliyun</id> <mirrorOf>central</mirrorOf>