疯狂的橘猫-IDEA编译spring源码翻车记录-02:找不到Jar.class类的getArchiveFile()

疯狂的橘猫-IDEA编译spring源码翻车记录:找不到Jar.class类的getArchiveFile(),Gradle Core Plugins (plugin is not in ‘org.gradle’ namespace):

标题一,导入spring源码,并且使用grade编译后遇到的问题:

报错:
1.找不到Jar.class类的getArchiveFile()

解决办法:
gradle版本过低导致找不到gradle中的某些类,重新安装高版本的gradle,如果不清楚安装哪个版本的,可以在参考该类的最后提交时间,安装早于该时间的gradle版本即可。
出处:https://blog.csdn.net/gooaaee/article/details/104437902
在这里插入图片描述

2.Gradle Core Plugins (plugin is not in ‘org.gradle’ namespace):

gradle command throwing below Exception:

Where: Build file '/path_to_project_gradle/build.gradle' line: 21

What went wrong: Plugin [id: 'org.springframework.boot', version: '2.1.4.RELEASE'] was not found in any of the following sources:

Gradle Core Plugins (plugin is not in 'org.gradle' namespace)

Plugin Repositories (could not resolve plugin artifact 'org.springframework.boot:org.springframework.boot.gradle.plugin:2.1.4.RELEASE') Searched in the following repositories: Gradle Central Plugin Repository

解决办法:

出处:https://www.pianshen.com/article/9358371934/
不勾选:
offline work
在这里插入图片描述

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值