分享

hadoop在非联网的情况下无法编译?

zzl99mail 发表于 2016-1-22 16:47:08 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 1 6483
[INFO] Scanning for projects...
Downloading: http://repo.maven.apache.org/mav ... le-plugin-2.4.0.pom

[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project org.apache.hadoop:hadoop-main:2.5.2 (/home/hadoop/source/hadoop-2.5.2-src/pom.xml) has 1 error
[ERROR]     Unresolveable build extension: Plugin org.apache.felix:maven-bundle-plugin:2.4.0 or one of its dependencies could not be resolved:
Failed to collect dependencies for org.apache.felix:maven-bundle-plugin:jar:2.4.0 ():
Failed to read artifact descriptor for org.apache.felix:maven-bundle-plugin:jar:2.4.0:
Could not transfer artifact org.apache.felix:maven-bundle-plugin:pom:2.4.0 from/to
central (http://repo.maven.apache.org/maven2): repo.maven.apache.org:
Unknown host repo.maven.apache.org -> [Help 2]
[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/confluen ... ctBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluen ... ResolutionException

已有(1)人评论

跳转到指定楼层
bob007 发表于 2016-1-22 17:09:45
必须在互联网的方式下,才能 编译。当然自己也可以搭建一个服务器。初学,必须联网,因为需要下载一些包等
回复

使用道具 举报

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

本版积分规则

关闭

推荐上一条 /2 下一条