下载依赖的过程中报错:Could not find artifact org.springframework.security:spring-security-config:pom:5.0.0.RC1 in aliyunmaven (https://maven.aliyun.com/repository/public)
原因分析:阿里云镜像仓库中没有该依赖的版本
解决方法
打开阿里云仓库服务
https://developer.aliyun.com/mvn/search
输入依赖名,我这里是spring-security-config
可以发现,仓库中并没有5.0.0.RC1这个版本的依赖,因此,决定下载仓库中与目标依赖最接近的版本5.0.4.RELEASE,修改pom.xml,更新Maven,成功下载目标依赖:
假如你不想更换版本,建议换源试试,有其它方法的uu可以在评论区@我一下,非常感谢