spring5.3.x源码:Could not resolve: com.ibm.websphere:uow:6.0.2.17

在搭建spring5.3.x的源码时,会报Could not resolve: com.ibm.websphere:uow:6.0.2.17的异常。找了一下,发现是下载不下来。网有人说需要将仓库地址换成https://repo.spring.io/libs-release,但是换了之后,直接报401,没有权限;
还有人说是将仓库地址换成阿里云的https://maven.aliyun.com/repository/public/,结果还是下载不下来,找不到这个包。解决方式:
在仓库地址中除了加入阿里云的public的仓库,还需要加入https://maven.aliyun.com/repository/spring这个仓库地址。
因为发现public仓库并不包含spring仓库,所以需要增加https://maven.aliyun.com/repository/spring这个仓库地址。

你可能感兴趣的:(spring,gradle)