【发布时间】:2015-09-08 15:31:25
【问题描述】:
我刚刚获得了 Gradle 1.4 和 Hadoop 2.7.0。在我的 Ubuntu 14.04 虚拟机上。
我在不耐烦的教程 repo 的 Cascading 的 part1 目录中。
当我运行“gradle clean jar”时,我得到以下信息:
FAILURE: Build failed with an exception.
* Where:
Build file '/home/Impatient/build.gradle' line: 29
* What went wrong:
A problem occurred evaluating root project 'impatient'.
> Could not find method jcenter() for arguments [] on repository container.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 5.502 secs
有人可以为我指出如何解决此问题的正确方向吗?
另外,tutorial 建议使用 IDE,我安装了 Intellij,这是推荐的。当我运行“gradle ideaModule”时,我收到与上面相同的构建失败消息。
【问题讨论】: