赞
踩
一、项目pom.xml添加
-
- <repositories>
- <repository>
- <id>aliyun-central</id>
- <name>Aliyun Maven Central</name>
- <url>https://maven.aliyun.com/repository/central</url>
- </repository>
- <repository>
- <id>aliyun-spring</id>
- <name>Aliyun Spring</name>
- <url>https://maven.aliyun.com/repository/spring</url>
- </repository>
- </repositories>
二、清理本地仓库缓存
rm -rf ~/.m2/repository
mvn clean package验证
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。