我目前在 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 插件。
任何想法如何解决这些警告?