【发布时间】:2013-10-13 20:22:30
【问题描述】:
我有 Grails 2.3.0,当我运行命令 run-app 时,我收到以下消息:
> | Error Error executing script RunApp:
> _GrailsClasspath_groovy$_run_closure1 (Use --stacktrace to see the full trace)
【问题讨论】:
标签: grails
我有 Grails 2.3.0,当我运行命令 run-app 时,我收到以下消息:
> | Error Error executing script RunApp:
> _GrailsClasspath_groovy$_run_closure1 (Use --stacktrace to see the full trace)
【问题讨论】:
标签: grails
target 文件夹。.grails/.slcache 文件夹(在您的/home 中)。 grails run-app。【讨论】:
不要为我工作。我不得不删除~/.grails/$version/projects/$projectName/scriptCache 目录文件。
并执行grails clean,然后再次执行grails run-app。
【讨论】:
我在 GGTS 3.4.0 和 Grails 2.3.1 中遇到了这个问题。按照这些步骤为我解决了这个问题:
<workspace>\ggts-3.4.0.RELEASE\.metadata\.plugins\org.grails.ide.eclipse.core\2.3.1\.slcache
clean
run-app
【讨论】:
对我有用的是完全清空主目录下的 .grails 目录
【讨论】:
首先做一个grails clean。然后是 grails 编译,最后是 grails --stacktrace --verbose run-app
还要确保将新的BuildConfig 复制到conf 目录中。在我这样做之前我遇到了问题。该文件有很多新的配置会影响事情的运行方式
希望有帮助
【讨论】: