Sunday, October 25, 2009

Grails on Windows 7

Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Grails: 1.1.1
Editor: e-texteditor 1.0.39
Bundles for groovy and grails: http://github.com/gtcaz/tmbundles4win
Database: mysql 5.1 works fine on 64 bit windows 7

grails would not start with the following error:
Error starting Grails: org/codehaus/gant/GantBinding java.lang.NoClassDefFoundError: org/codehaus/gant/GantBinding

to actually make it work, I had to modify startGrails.bat:30 to:
set JAVA_OPTS=%JAVA_OPTS% -Dgrails.version="1.1.1"

Someone must have forgotten to adjust the batch file when the stable version was released


You are also welcome to subscribe via email or subscribe via reader to get updates.

No comments:

Post a Comment