Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

grails-2.3.0.M1 fails to start in IntelliJ IDEA 130.754

I have project running on grails 2.2.1 in IntelliJ IDEA 130.754.

After upgrading of grails version to 2.3.0.M1 grails fails to start

Log from IDEA console

/home/aram/local/java/bin/java -Dgrails.home=/home/aram/local/grails-2.3.0.M1 -Dbase.dir=/home/aram/projects/grails/app/formx -Dtools.jar=/home/aram/local/java/lib/tools.jar -Dgroovy.starter.conf=/home/aram/local/grails-2.3.0.M1/conf/groovy-starter.conf -Xmx768M -Xms768M -XX:MaxPermSize=256m -XX:PermSize=256m -Dfile.encoding=UTF-8 -classpath /home/aram/local/grails-2.3.0.M1/lib/org.codehaus.groovy/groovy-all/jars/groovy-all-2.1.3.jar:/home/aram/local/grails-2.3.0.M1/dist/grails-bootstrap-2.3.0.M1-sources.jar org.codehaus.groovy.grails.cli.support.GrailsStarter --main org.codehaus.groovy.grails.cli.GrailsScriptRunner --conf /home/aram/local/grails-2.3.0.M1/conf/groovy-starter.conf upgradeError: Could not find or load main class org.codehaus.groovy.grails.cli.support.GrailsStarter

I guess problem is with

  /home/aram/local/grails-2.3.0.M1/dist/grails-bootstrap-2.3.0.M1-sources.jar

maybe it need to be

/home/aram/local/grails-2.3.0.M1/dist/grails-bootstrap-2.3.0.M1.jar 

instead.

Any help how to fix issue ?

like image 722
Aram Arabyan Avatar asked Jun 04 '13 13:06

Aram Arabyan


1 Answers

As workaround you can remove all "grails-*-2.3.0.M1-sources.jar" and "grails-*-2.3.0.M1-javadocs.jar" from $GRAILS_HOME/dist

Problem will be fixed in the next EAP.

like image 74
Sergey Avatar answered Oct 30 '22 20:10

Sergey