java - Gradle 无法使用与 Gradle 发行版“xxbin.zip”的连接来运行分阶段构建操作,根本原因
问题描述
我想在spring boot项目中使用Gradle工具API,但是思路没有错误。我打包成jar的时候报如下错误
exception [Request processing failed; nested exception is org.gradle.tooling.BuildException: Could not run phased build action using connection to Gradle distribution 'https://services.gradle.org/distributions/gradle-7.1-bin.zip'.] with root cause
java.lang.ClassNotFoundException: org.gradle.tooling.internal.consumer.connection.InternalPhasedActionAdapter
解决方案
推荐阅读
- c++ - 从左到右的反向链表
- php - 将 VB.NET 加密/解密旧代码转换为 PHP 5.3
- c# - 在 ASP.NET Core 中捕获空闲超时用户详细信息
- r - 执行匹配的风险集抽样(发病密度抽样)而不对两个变量进行替换匹配
- r - 重新格式化ggplot barplot的数据框
- terraform - 嵌套块如何在自定义 terraform 提供程序中具有标签?
- javascript - SVG 动画在 React 中引发“无法读取属性 'style' of null”错误
- realm - 领域查询有时不返回数据
- c - yocto设置的镜像包服务器无法搜索到download/git2/下的包
- pytorch - pytorch cuda 不可用:CUDA 初始化:CUDA 未知错误