【问题标题】:Ballerina Maven Build Fails - toml parserBallerina Maven 构建失败 - toml 解析器
【发布时间】:2019-01-08 13:07:51
【问题描述】:

我检查了Ballerina 并使用mvn clean install 构建。我收到以下错误。

[错误] 无法在项目 toml-parser 上执行目标 com.github.spotbugs:spotbugs-maven->plugin:3.1.1:spotbugs (spotbugs):执行目标 com.github.spotbugs:spotbugs- maven-plugin:3.1.1:spotbugs failed: Java >returned: 1 -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: 无法在项目 toml-parser 上执行 >?goal com.github.spotbugs:spotbugs-maven-plugin:3.1.1:spotbugs (spotbugs):执行目标 com.github 的 spotbugs。 spotbugs:spotbugs-maven-plugin:3.1.1:spotbugs 失败:Java 返回:1

构建环境:

  • macOS High Sierra(版本 10.13.6)
  • Java 11.0.1 2018-10-16 LTS
  • Java(TM) SE 运行时环境 18.9(内部版本 11.0.1+13-LTS)
  • Apache Maven 3.6.0

发生了什么事?我该如何解决这个问题?

【问题讨论】:

  • 如果您签出其他发布标签之一,它会构建吗?
  • 如果您使用调试-X 运行构建,实际错误是什么,应该有更多信息为什么spotbugs-maven-plugin 失败。
  • @Kerry: 不。它失败并出现同样的错误。
  • @KarolDowbecki:这是我使用-X 运行时得到的结果。 pastebin.com/9ZazMawu
  • 您将不得不提供构建环境的一些详细信息,例如操作系统、java版本、maven版本等

标签: java maven ballerina


【解决方案1】:

事实证明,Ballerina 还不支持 Java 11,这就是上述问题的原因。谢谢@Kerry、@Karol Dowbecki、@Manuri。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2010-11-26
    • 1970-01-01
    • 2021-07-02
    相关资源
    最近更新 更多