分享

hadoop2.4 'protoc --version' did not return a version

howtodown 发表于 2014-8-7 14:15:53 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 1 8547
您好,我按照您说的从零教你如何获取hadoop2.4源码操作,最后出现了[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.hadoop:hadoop-maven-plugins:2.4.0:prot
oc (compile-protoc) on project hadoop-common: org.apache.maven.plugin.MojoExecut
ionException: '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 swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
xception
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command

[ERROR]   mvn <goals> -rf :hadoop-common错误,是怎么回事啊

已有(1)人评论

跳转到指定楼层
sstutu 发表于 2014-8-7 14:20:13

protoc 配置正确就没有问题了,具体可以参考:
目标只要出现
  1. protoc --version
  2. libprotoc 2.5.0
复制代码

就代表安装成功了

win7如何安装maven、安装protoc

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条