spring-boot - Spring Boot 项目的 Gradle 构建错误
问题描述
下面是 gradle build 的失败日志。无法确定原因。在格式化操作系统和重建 gradle 失败后,这在我的机器上工作过。
> Executing task: gradle: build <
> Task :compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Could not resolve all files for configuration ':compileClasspath'.
> Could not find com.lowagie:itext:2.1.7.js7.
Required by:
project : > net.sf.jasperreports:jasperreports:6.11.0
* 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
BUILD FAILED in 2s
5 actionable tasks: 1 executed, 4 up-to-date
Could not execute build using Gradle distribution 'https://services.gradle.org/distributions/gradle-5.2.1-bin.zip'.
解决方案
推荐阅读
- r - 如何在 R(闪亮)中的“BOX()”中查看反应部分的文本
- javascript - 将多选与动态生成的选择一起使用
- html - 在 Angular 中显示材料表
- python-3.x - Python - API 多个响应
- jsp - 在 JSP 中禁用复选框时显示消息
- java - 从 JpaRepository 创建操作,但使用多个字段
- c# - 以小块的形式将 zip 文件上传到 azure 云 blob 存储
- docfx - 如何在 docfx.console 下运行 DocFx 插件和后处理器?
- python - 如何执行从 inspect.getsource 返回的代码
- graph - Neo4j Cypher 获取链表中的所有节点