idea 刷新 Gradle 项目 Failed to apply plugin 'spring-boot' 报错

idea 刷新 Gradle 项目 Failed to apply plugin'spring-boot'报错
* What went wrong:
A problem occurred evaluating script.
> Failed to apply plugin 'spring-boot'.
   > Configuration with name 'runtime' not found.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

以上报错,原因可能是缺失.\gradle\wrapper\gradle-wrapper.jar、.\gradle\wrapper\gradle-wrapper.properties 文件。补全相关文件即可。
Gradlew 是包装器,自动下载包装里定义好的 gradle 版本,保证编译环境统一,gradle 是用本地的 gradle。

手机扫描二维码访问

本文标题:《idea 刷新 Gradle 项目 Failed to apply plugin 'spring-boot' 报错》作者:极四维博客
原文链接:https://cway.top/post/985.html
特别注明外均为原创,转载请注明。

分享到微信

扫描二维码

可在微信查看或分享至朋友圈。

相关文章

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

«    2024年9月    »
1
2345678
9101112131415
16171819202122
23242526272829
30

搜索

控制面板

您好,欢迎到访网站!
  查看权限

最新留言

文章归档

  • 订阅本站的 RSS 2.0 新闻聚合