Grails upgrade error: Could not find or load main class org.codehaus.groovy.grails.cli.support.Grail

2,033 views
Skip to first unread message

Ryan Sheeler

unread,
Jun 25, 2014, 9:58:23 AM6/25/14
to grails-de...@googlegroups.com

Grails upgrade error: Could not find or load main class org.codehaus.groovy.grails.cli.support.GrailsStarter

Hi all I am upgrading to Grails 2.4.1 from 2.4.0 and when I do a grails anything (run-app, etc) from the cmd prompt, I get the 'error: Could not find or load main class org.codehaus.groovy.grails.cli.support.GrailsStarter'. I've checked all my paths and I have a fresh copy of Grails 2.4.1 in my C:\grails\current folder

What could be wrong? This is the first time I've ever had this problem.  Environment variables are as follows:

GRAILS_HOME -- C:\grails\grails-2.4.1

PATH:   %GRAILS_HOME%\bin;%JAVA_HOME%\bin;C:\oracle\product\11.2.0\client_32\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%systemroot%\System32\WindowsPowerShell\v1.0\;
Reply all
Reply to author
Forward
0 new messages