【发布时间】:2010-01-24 19:58:59
【问题描述】:
当我尝试在 Eclipse 中运行我的 Google App Engine/Grails 测试应用程序时,我目前看到以下警告。
- 警告,目标导致名称覆盖 startLogging
- 警告:找不到 C:\Users\Some Person.grails\1.2.0\projects\test-grails\plugins\app-engine-0.8.8\grails-app\conf\spring。
- 警告:找不到 C:\Users\Some Person.grails\1.2.0\projects\test-grails\plugins\app-engine-0.8.8\grails-app\conf。
- 警告:找不到 C:\Users\Some Person.grails\1.2.0\projects\test-grails\plugins\app-engine-0.8.8\grails-app\conf\hibernate。
这是控制台的输出:
Base Directory: C:\Users\Some Person\workspace\test-grails
Resolving dependencies...
Dependencies resolved in 1160ms.
Running script C:\grails-1.2.0\scripts\RunApp.groovy
Environment set to development
Warning, target causing name overwriting of name startLogging
[groovyc] Compiling 1 source file to C:\Users\Some Person\workspace\test-grails\web-app\WEB-INF\classes
[copy] Copying 1 file to C:\Users\Some Person\.grails\1.2.0\projects\test-grails
[copy] Copying 1 file to C:\Users\Some Person\workspace\test-grails\web-app\WEB-INF
Configuring persistence for AppEngine
[copy] Warning: C:\Users\Some Person\.grails\1.2.0\projects\test-grails\plugins\app-engine-0.8.8\grails-app\conf\spring not found.
[copy] Warning: C:\Users\Some Person\.grails\1.2.0\projects\test-grails\plugins\app-engine-0.8.8\grails-app\conf not found.
[copy] Warning: C:\Users\Some Person\.grails\1.2.0\projects\test-grails\plugins\app-engine-0.8.8\grails-app\conf\hibernate not found.
在使用 Spring Tools Suite (STS) 创建 Grails 项目并安装应用程序引擎插件“grails install-plugin app-engine”后出现此错误。之前,我安装了 Grails 项目运行正常的 app-engine 插件。
任何想法如何解决这些警告?
【问题讨论】:
-
你试过把它放到另一个目录吗?也许它在“Taylor Leese”中的空间有问题......
-
不,我没有尝试过,但我在 ..\grails-app 中也没有“conf”目录。我很确定这是问题所在,但我不确定如何创建它们。
-
相关 JIRA 问题:jira.codehaus.org/browse/GRAILSPLUGINS-1889
标签: java eclipse google-app-engine grails sts-springsourcetoolsuite