无法在IntelliJ 14.1中初始化Grails 3.0.1应用程序

时间:2015-04-16 14:09:05

标签: grails intellij-idea grails-3.0

我正在尝试在IntelliJ 14.1中初始化Grails 3.0.1应用程序,但run-app失败。

我收到以下错误:

"Error: Could not find or load main class
org.codehaus.groovy.grails.cli.support.GrailsStarter"

输出:

C:\Program Files\Java\jdk1.8.0_31\bin\java" -Dgrails.home=C:\ops\grails-3.0.1 -Dbase.dir=C:\Users\shay "-Dtools.jar=C:\Program Files\Java\jdk1.8.0_31\lib\tools.jar" -Dgroovy.starter.conf=C:\ops\grails-3.0.1/conf/groovy-starter.conf -Xmx768M -Xms768M -XX:MaxPermSize=256m -XX:PermSize=256m -Djline.WindowsTerminal.directConsole=false -Dfile.encoding=windows-1252 -classpath C:\ops\grails-3.0.1\dist\grails-bootstrap-3.0.1.jar org.codehaus.groovy.grails.cli.support.GrailsStarter --main org.codehaus.groovy.grails.cli.GrailsScriptRunner --conf C:\ops\grails-3.0.1/conf/groovy-starter.conf "create-app grails3.1 -plain-output"Error: Could not find or load main class org.codehaus.groovy.grails.cli.support.GrailsStarter
        Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
        Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=256m; support was removed in 8.0

0 个答案:

没有答案