gpt4 book ai didi

java - 无法执行目标org.apache.hadoop:hadoop-maven-plugins:2.4.2-SNAPSHOT:protoc

转载 作者:行者123 更新时间:2023-12-02 21:32:11 24 4
gpt4 key购买 nike

知道如何解决此错误吗?

[ERROR] Failed to execute goal org.apache.hadoop:hadoop-maven-plugins:2.4.2-SNAPSHOT:protoc (compile-protoc) on project hadoop-common: org.apache.maven.plugin.MojoExecutionException: 'protoc --version' did not return a version -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :hadoop-common

最佳答案

我通过使用以下命令在Ubuntu中安装protocolBuffer解决了该问题:

sudo apt-get install protoc

关于java - 无法执行目标org.apache.hadoop:hadoop-maven-plugins:2.4.2-SNAPSHOT:protoc,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33838146/

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