groovy 在 0.229 处构建 presto 时出现异常

groovy exception while building presto at 0.229

我正在学习 presto,想 运行 在我的 IDE.

中使用 Presto

所以我按照本文档中的说明使用“./mvnw clean install -DskipTests”构建了 presto:https://github.com/Teradata/presto.

但是我遇到了如下异常

[ERROR] Failed to execute goal com.github.spotbugs:spotbugs-maven-plugin:3.1.10:spotbugs (spotbugs) on project presto-root: Execution spotbugs of goal com.github.spotbugs:spotbugs-maven-plugin:3.1.10:spotbugs failed: Unable to load the mojo 'spotbugs' in the plugin 'com.github.spotbugs:spotbugs-maven-plugin:3.1.10'. A required class is missing: groovy/lang/GroovyObject

我的 Presto 版本是标签 0.229。 我该如何解决这个问题?

following the instructions in this document: https://github.com/Teradata/presto.

这是一个过时的存储库。 维护它的团队于 2017 年离开了 Teradata 并创办了 Starburst Data 公司(阅读更多 https://www.globenewswire.com/news-release/2017/12/13/1261305/0/en/Starburst-Accelerates-Presto-Adoption-for-Fast-Interactive-Queries-of-Big-Data.html)。

2019 年,团队与 Presto Software Foundation 密切合作。

因此,https://github.com/trinodb/trino 是当前要使用的“家庭住址”。

[ERROR] Failed to execute goal com.github.spotbugs:spotbugs-maven-plugin:3.1.10:spotbugs (spotbugs) on project presto-root: Execution spotbugs of goal com.github.spotbugs:spotbugs-maven-plugin:3.1.10:spotbugs failed: Unable to load the mojo 'spotbugs' in the plugin 'com.github.spotbugs:spotbugs-maven-plugin:3.1.10'. A required class is missing: groovy/lang/GroovyObject

我以前没有遇到过这样的问题。

请注意,Presto 目前建议 Java8 进行构建。 你可以使用例如Open JDK,采用 Open JDK 或 Azul 的发行版。

如果需要更多的故障排除,这并不适合 SO 问答设计,我建议您加入 Presto Community slack 上的 #dev 频道。