删除本地仓库中全部(.lastUpdated)文件的命令,cd到本地仓库的目录中, for /r %i in (.lastUpdated) do del %iweb
<mirror> <id>alimaven</id> <mirrorOf>central</mirrorOf> <name>aliyun maven</name> <url>http://maven.aliyun.com/nexus/content/groups/public/</url> </mirror>
后将镜像仓库改成阿里的另外一个仓库spring
<mirror> <id>nexus-aliyun</id> <mirrorOf>central</mirrorOf> <name>Nexus aliyun</name> <url>http://maven.aliyun.com/nexus/content/repositories/central</url> </mirror>
就成功了。springboot