Problem on first usage

Thanks for this sample - once the problem below was fixed, it ran cleanly locally and on Cloud Foundry.

When I tried to run it locally as per the README, it failed with:

    $ ./grailsw run-app
    | Running Grails application
    | Error 2013-07-08 14:58:45,341 [localhost-startStop-1] ERROR context.ContextLoader  - Context initialization failed
    Message: IOException parsing XML document from ServletContext resource [/WEB-INF/applicationContext.xml]; nested exception is java.io.FileNotFoundException: Could not open ServletContext   resource [/WEB-INF/applicationContext.xml]
       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     ''
    ^   680 | run . .  in java.lang.Thread

    Caused by FileNotFoundException: Could not open ServletContext resource [/WEB-INF/applicationContext.xml]
    ->> 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     ''
    ^   680 | run . .  in java.lang.Thread
    | Error 2013-07-08 14:58:45,362 [localhost-startStop-1] ERROR context.GrailsContextLoader  - Error initializing the application: IOException parsing XML document from ServletContext resource [/WEB-INF/applicationContext.xml]; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/applicationContext.xml]
    Message: IOException parsing XML document from ServletContext resource [/WEB-INF/applicationContext.xml]; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/applicationContext.xml]
       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     ''
     ^   680 | run . .  in java.lang.Thread

    Caused by FileNotFoundException: Could not open ServletContext resource [/WEB-INF/applicationContext.xml]
    ->> 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     ''
    ^   680 | run . .  in java.lang.Thread

http://www.icodeya.com/2012/02/grails-javaiofilenotfoundexception.html suggested a solution which seemed to work. I've added that suggestion to the README in this pull request. This may be the wrong solution as I'm new to grails. You could try a fresh clone of the repo to see if the problem recurs for you.