今天,重新搭建一下Spring源码, 居然g了,看了一下报错
直接给出解决方案:
将build.gradle 里面的
这2块改成图上所示
maven{ url ‘https://maven.aliyun.com/repository/central’}
maven{ url ‘https://maven.aliyun.com/repository/public’ }
maven{ url ‘https://maven.aliyun.com/repository/google’}
maven{ url ‘https://maven.aliyun.com/repository/gradle-plugin’}
maven{ url ‘https://maven.aliyun.com/repository/spring’}
maven{ url ‘https://maven.aliyun.com/repository/spring-plugin’}
maven{ url ‘https://maven.aliyun.com/mvn/guide’}
maven{ url ‘https://maven.aliyun.com/repository/apache-snapshots’}
方便各位复制