spring框架编译的时候,报
Plugin Repositories (could not resolve plugin artifact ‘io.spring.dependency-management:io.spring.dependency-management.gradle.plugin:1.0.5.RELEASE’)
解决办法:
打开配置文件gradle-wrapper.properties将distributionUrl修改
旧:distributionUrl=https://services.gradle.org/distributions/gradle-4.10.2-all.zip
改为:distributionUrl=https://services.gradle.org/distributions/gradle-6.0.1-all.zip
然后加载kotlin的时候报错org.jetbrains.kotlin包的错误(Could not download kotlin-gradle-plugin-1.2.71.jar),分析其原因可能是版本太低了
01-03
01-05
5719
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
06-11
7858
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
03-29
5580
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
04-17
2万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
05-07
1万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)