2
我想從源代碼安裝Grails。 我3天前開始了,仍然有一些問題。 將盡力與消息結束:Grails安裝
:grails-bootstrap:compileGroovy
[ant:groovyc] >>> a serious error occurred: grails/util/BuildSettings
[ant:groovyc] >>> stacktrace:
[ant:groovyc] java.lang.NoClassDefFoundError: grails/util/BuildSettings
[ant:groovyc] at java.lang.Class.getDeclaredMethods0(Native Method)
[ant:groovyc] at java.lang.Class.privateGetDeclaredMethods(Class.java:2440)
[ant:groovyc] at java.lang.Class.getDeclaredMethods(Class.java:1806)
Execution failed for task ':grails-bootstrap:compileGroovy'.
> Forked groovyc returned error code: 1
我使用Ubuntu 12.04 LTS 64位
我所做的:
安裝Java
Java版本「1.7.0-EA 「
Java(TM)SE運行環境(build 1.7.0-ea-b76)
Ja VA的HotSpot(TM)64位服務器VM(構建17.0-B05,混合模式)安裝Groovy
Groovy的版本:2.0.0 JVM:1.7.0-EA賣方:Sun Microsystems公司OS :Linux的
克隆Grails和結帳它V2.1.0
調用須藤./gradlew安裝
如果我使用--stacktrace - info --debug
00:15:19.777 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
00:15:19.779 [ERROR] [org.gradle.BuildExceptionReporter]
00:15:19.780 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
00:15:19.781 [ERROR] [org.gradle.BuildExceptionReporter] Execution failed for task ':grails-bootstrap:compileGroovy'.
00:15:19.786 [ERROR] [org.gradle.BuildExceptionReporter] > Forked groovyc returned error code: 1
00:15:19.787 [ERROR] [org.gradle.BuildExceptionReporter]
00:15:19.788 [ERROR] [org.gradle.BuildExceptionReporter] * Exception is:
00:15:19.791 [ERROR] [org.gradle.BuildExceptionReporter] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':grails-bootstrap:compileGroovy'.
00:15:19.792 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:68)
00:15:19.794 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
00:15:19.795 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:34)
00:15:19.796 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.changedetection.CacheLockHandlingTaskExecuter$1.run(CacheLockHandlingTaskExecuter.java:34)
00:15:19.797 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.cache.internal.DefaultCacheAccess$2.create(DefaultCacheAccess.java:200)
00:15:19.799 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.cache.internal.DefaultCacheAccess.longRunningOperation(DefaultCacheAccess.java:172)
00:15:19.800 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.cache.internal.DefaultCacheAccess.longRunningOperation(DefaultCacheAccess.java:198)
我該做些什麼更好的?
是的,Grails是不動Groovy的2.0 [直到Grails的2.2(http://grails.org/Roadmap) – 2012-07-12 00:10:48
是的,你都是對的。對我感到羞恥,我注意到了它;) – mrok 2012-07-12 20:32:17