Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to create Grails application

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
I'm trying to create my first Grails app.
GRAILS_HOME=D:\Grails
GROOVY_HOME=D:\Groovy

D:\grapp>grails create-app
I got the following exception :

Welcome to Grails 0.5 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: D:\Grails

Base Directory: D:\GrApp
Environment set to production
Note: No plugin scripts found
Running script D:\Grails\scripts\CreateApp.groovy
Error executing script CreateApp: Cannot invoke method addURL() on null object
java.lang.NullPointerException: Cannot invoke method addURL() on null object
at org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:1
05)
at org.codehaus.groovy.runtime.Invoker.invokePogoMethod(Invoker.java:148
)
at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:110)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.
..........
My System:
WinXP Pro SP2
JDK 5
Grails 0.5
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From the Grails mailing list:


Try removing GROOVY_HOME, there have been some conficts with it in
0.5, otherwise try a 0.5.5 snapshot
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic