When I want to start the grails application using " grails run-app", I get the following message:
| Running Grails application
| Error 2014-02-25 10:28:12,493 [localhost-startStop-1] ERROR context.GrailsContextLoader - Error initializing the application: Property source name must contain at least one character
Message: Property source name must contain at least one character
Line | Method
->> 303 | innerRun in java.util.concurrent.FutureTask$Sync
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 138 | run in java.util.concurrent.FutureTask
| 895 | runTask in java.util.concurrent.ThreadPoolExecutor$Worker
| 918 | run in ''
^ 695 | run . . in java.lang.Thread
I am using Grails 2.3.4 on a clean system ( Mac OS X).
If this is useful, here is my .bash_proifile
export JAVA_HOME=/Library/Java/Home
export PATH="$PATH:$JAVA_HOME/bin"
GRAILS_HOME=/Applications/grails-2.3.4;
export GRAILS_HOME
PATH=$GRAILS_HOME/bin:$PATH;
export PATH
The application works fine on 4 other computers.
source
share