I’m currently seeing the warnings below when trying to run my Google App Engine/Grails test app in Eclipse.
- Warning, target causing name overwriting of name startLogging
- Warning: C:\Users\Some Person.grails\1.2.0\projects\test-grails\plugins\app-engine-0.8.8\grails-app\conf\spring not found.
- Warning: C:\Users\Some Person.grails\1.2.0\projects\test-grails\plugins\app-engine-0.8.8\grails-app\conf not found.
- Warning: C:\Users\Some Person.grails\1.2.0\projects\test-grails\plugins\app-engine-0.8.8\grails-app\conf\hibernate not found.
Here is the output from the console:
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.
I get this error after creating a Grails project with Spring Tools Suite (STS) and then installing the app-engine plugin “grails install-plugin app-engine”. Before, I install the app-engine plugin the Grails project runs correctly.
Any ideas how to resolve these warnings?
Warning 1 is caused by an issue in Grails’ scripts. I had a look in JIRA but couldn’t see a bug report relating to it. I do not think it causes any side effects.
Warnings 2,3 and 4 are referring to folders inside the app-engine plugin.
Even though they are annoying they will not be doing any harm.
The best thing you could do is raise a JIRA against the app-engine plugin requesting the author to add those folders to stop the warnings.