我有项目在 IntelliJ IDEA 130.754 的 grails 2.2.1 上运行。
将 grails 版本升级到 2.3.0.M1 后 grails 无法启动
从 IDEA 控制台登录
/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
我想问题出在
/home/aram/local/grails-2.3.0.M1/dist/grails-bootstrap-2.3.0.M1-sources.jar
也许它需要
/home/aram/local/grails-2.3.0.M1/dist/grails-bootstrap-2.3.0.M1.jar
反而。
任何帮助如何解决问题?