我尝试在我的 CentOS 机器上运行 gradle,但它不打印任何输出。只有像gradle -v或gradle -q tasks这样的东西会带来一些非常基本的信息。主要问题是,我得到一个编译错误,但它没有告诉我它在哪里。
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
Cause: Compile failed; see the compiler error output for details.
已设置 JAVA_HOME 和 GRADLE_HOME。类路径为空。有任何想法吗?
gradle -v
Gradle 1.0-milestone-7
Gradle build time: Thursday, January 5, 2012 10:24:43 AM UTC
Groovy: 1.8.4
Ant: Apache Ant(TM) version 1.8.2 compiled on December 20 2010
Ivy: 2.2.0
JVM: 1.6.0_24 (Sun Microsystems Inc. 19.1-b02)
OS: Linux 2.6.18-274.17.1.el5 amd64