Maven 无法使用 'ambiguous reference to Record' 从源代码编译 QuestDB
Maven fails to compile QuestDB from source with 'ambiguous reference to Record'
我已经从 docker 中 运行 宁 QuestDB,但为了尝试来自 master 的最新版本,我遵循了 GitHub 上的文档,但无法从源代码构建。当我尝试 运行 任何 Maven 命令(mvn clean test
或 build
)时控制台的输出如下所示:
[INFO] QuestDB core 5.0.6-SNAPSHOT ........................ FAILURE [ 7.103 s]
[INFO] JMH benchmarks for QuestDB 1.0 ..................... SKIPPED
[INFO] QuestDB 5.0.6-SNAPSHOT ............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.192 s
[INFO] Finished at: 2021-01-13T15:14:10+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project questdb: Compilation failure: Compilation failure:
[ERROR] /Users/fmay/proj/qdb/questdb/core/src/main/java/io/questdb/griffin/engine/functions/SymbolFunction.java:[50,39] error: reference to Record is ambiguous
...
我正在尝试使用最新的 Mac os 11.1.
进行构建
QuestDB需要用Java11构建,查看是哪个版本运行
java -version
如果你有不同的东西并且你使用自制软件,你可以 use brew to install openJDK 11 和
brew install openjdk@11
我已经从 docker 中 运行 宁 QuestDB,但为了尝试来自 master 的最新版本,我遵循了 GitHub 上的文档,但无法从源代码构建。当我尝试 运行 任何 Maven 命令(mvn clean test
或 build
)时控制台的输出如下所示:
[INFO] QuestDB core 5.0.6-SNAPSHOT ........................ FAILURE [ 7.103 s]
[INFO] JMH benchmarks for QuestDB 1.0 ..................... SKIPPED
[INFO] QuestDB 5.0.6-SNAPSHOT ............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.192 s
[INFO] Finished at: 2021-01-13T15:14:10+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project questdb: Compilation failure: Compilation failure:
[ERROR] /Users/fmay/proj/qdb/questdb/core/src/main/java/io/questdb/griffin/engine/functions/SymbolFunction.java:[50,39] error: reference to Record is ambiguous
...
我正在尝试使用最新的 Mac os 11.1.
进行构建QuestDB需要用Java11构建,查看是哪个版本运行
java -version
如果你有不同的东西并且你使用自制软件,你可以 use brew to install openJDK 11 和
brew install openjdk@11