【发布时间】:2016-04-06 13:28:19
【问题描述】:
我在尝试使用“grails compile”编译项目时遇到问题。我收到以下错误:
| Configuring classpath
| Error Error executing script Compile: startup failed:
_GrailsClasspath_groovy: 17: unable to resolve class
org.codehaus.groovy.grails.compiler.GrailsProjectCompiler
@ line 17, column 1.
我对 groovy/grails 很陌生,但我认为这是某个类路径的问题。但是,我在我的项目中找不到任何包含字符串“GrailsProjectCompiler”的文件。我尝试在 google 和 stackoverflow 搜索类似的问题,但我找到的唯一一个 (http://grails.1312388.n4.nabble.com/Unable-to-resolve-class-org-codehaus-groovy-grails-compiler-GrailsProjectCompiler-td4641043.html) 对我不起作用。
有人对可能出现的问题有任何建议吗?
编辑:Grails 是 2.3 版,这是运行 JDK 1.8 的 Mac OS X El Capitan
【问题讨论】:
-
哪个 Grails 版本,哪个操作系统,哪个 JAVA?
-
@Michal_Szulc 已将您要求的版本添加到问题中