gpt4 book ai didi

java - 构建 Apache Ignite 源时出错

转载 作者:行者123 更新时间:2023-12-02 01:11:06 25 4
gpt4 key购买 nike

我已经下载了apache-ignite-2.76的源代码并尝试使用以下命令构建项目

mvn clean package -DskipTests

但它抛出以下错误:-

 Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project ignite-tools: Compilation failure: Compilation failure: 
[ERROR] /home/blazehub/dev-install/apache-ignite-2.7.6-src/modules/tools/src/main/java/org/apache/ignite/tools/javadoc/IgniteLinkTaglet.java:[21,29] package com.sun.tools.doclets does not exist
[ERROR] /home/blazehub/dev-install/apache-ignite-2.7.6-src/modules/tools/src/main/java/org/apache/ignite/tools/javadoc/IgniteLinkTaglet.java:[30,42] cannot find symbol
[ERROR] symbol: class Taglet
[ERROR] /home/blazehub/dev-install/apache-ignite-2.7.6-src/modules/tools/src/main/java/org/apache/ignite/tools/javadoc/IgniteLinkTaglet.java:[37,5] method does not override or implement a method from a supertype
[ERROR] /home/blazehub/dev-install/apache-ignite-2.7.6-src/modules/tools/src/main/java/org/apache/ignite/tools/javadoc/IgniteLinkTaglet.java:[44,5] method does not override or implement a method from a supertype
[ERROR] /home/blazehub/dev-install/apache-ignite-2.7.6-src/modules/tools/src/main/java/org/apache/ignite/tools/javadoc/IgniteLinkTaglet.java:[51,5] method does not override or implement a method from a supertype
[ERROR] /home/blazehub/dev-install/apache-ignite-2.7.6-src/modules/tools/src/main/java/org/apache/ignite/tools/javadoc/IgniteLinkTaglet.java:[58,5] method does not override or implement a method from a supertype
[ERROR] /home/blazehub/dev-install/apache-ignite-2.7.6-src/modules/tools/src/main/java/org/apache/ignite/tools/javadoc/IgniteLinkTaglet.java:[65,5] method does not override or implement a method from a supertype
[ERROR] /home/blazehub/dev-install/apache-ignite-2.7.6-src/modules/tools/src/main/java/org/apache/ignite/tools/javadoc/IgniteLinkTaglet.java:[72,5] method does not override or implement a method from a supertype
[ERROR] /home/blazehub/dev-install/apache-ignite-2.7.6-src/modules/tools/src/main/java/org/apache/ignite/tools/javadoc/IgniteLinkTaglet.java:[79,5] method does not override or implement a method from a supertype
[ERROR] /home/blazehub/dev-install/apache-ignite-2.7.6-src/modules/tools/src/main/java/org/apache/ignite/tools/javadoc/IgniteLinkTaglet.java:[88,5] method does not override or implement a method from a supertype
[ERROR] /home/blazehub/dev-install/apache-ignite-2.7.6-src/modules/tools/src/main/java/org/apache/ignite/tools/javadoc/IgniteLinkTaglet.java:[100,9] cannot find symbol
[ERROR] symbol: class Taglet
[ERROR] location: class org.apache.ignite.tools.javadoc.IgniteLinkTaglet
[ERROR] /home/blazehub/dev-install/apache-ignite-2.7.6-src/modules/tools/src/main/java/org/apache/ignite/tools/javadoc/IgniteLinkTaglet.java:[119,5] method does not override or implement a method from a supertype
[ERROR] /home/blazehub/dev-install/apache-ignite-2.7.6-src/modules/tools/src/main/java/org/apache/ignite/tools/javadoc/IgniteLinkTaglet.java:[161,5] method does not override or implement a method from a supertype

最佳答案

不幸的是,Apache Ignite 2.7.x 只能使用 Java 8 进行构建。不过,您可以使用 Java 11 进行二进制构建。

关于java - 构建 Apache Ignite 源时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59384076/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com