1
votes

When I am trying to create a new Grails project getting the following error:

Grails: 3.0.9 Jdk: 1.8

Command terminated with an exception: java.lang.Exception (see details for partial output) Command: C:\Program Files\Java\jdk1.8.0_65\bin\javaw.exe (11-Nov-2015 11:43:39 am) ---- System.out ----

---- System.err ---- 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

------System.out:-----------

------System.err:----------- 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

Please help me to get the solution for this.

Thanks

1

1 Answers

0
votes

It seems you are running the project (or create) as a Java project instead of Grails project, cause it is trying to execute de Main java class