首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >ElephantBird包构建失败:

ElephantBird包构建失败:
EN

Stack Overflow用户
提问于 2012-11-20 15:58:21
回答 2查看 1.6K关注 0票数 1

我下载了ElephantBird源码,并试图通过运行"mvn package“来构建,但我得到了以下错误:

代码语言:javascript
复制
[ERROR] Failed to execute goal com.github.igor-petruk.protobuf:protobuf-maven-plugin:0.4:run (default) on project elephant-bird-core: Unable to find 'protoc' -> [Help 1]

我使用的是mvn版本3.0.3,我在Mac和Ubuntu上试过了,但我得到了同样的错误。

EDIT1:

多亏了Lorand的评论,我通过升级protocol buffer解决了上面的问题。我也安装了Thrift 0.7.0,但现在在构建大象-猪的过程中,我遇到了另一个编译失败:

代码语言:javascript
复制
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile (default-testCompile) on project elephant-bird-pig: Compilation failure: Compilation failure: [ERROR] /root/elephant-bird/pig/src/test/java/com/twitter/elephantbird/pig/util/TestThriftNameWritableConverter.java:[12,26] invalid inferred types for W; inferred type does not conform to declared bound(s)
EN

回答 2

Stack Overflow用户

发布于 2012-11-20 17:10:07

确保您之前已经安装了编译器(apt-get install protobuf- Protocol Buffers )和Thrift。您还必须在Elephant-bird的pom.xml中设置Thrift的位置。

请参阅:https://stackoverflow.com/a/12301954

票数 2
EN

Stack Overflow用户

发布于 2013-05-22 02:05:54

使用Java 7 JDK修复Java编译错误。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/13468811

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档