I am trying to create a new Grails project with IntelliJ IDEA using the new grails-3.0 M1 SDK but when running create-app I am getting the following error:
Error: Could not find or load main class org.codehaus.groovy.grails.cli.support.GrailsStarter
With previous grail versions works fine (I got the environment variables configured correctly)
Any workarounds about it?
Thanks
Are you trying to use the grails integration in idea? Grails 3 is so different, I doubt that will work. Just create-app from the command line, and import the project into idea from the build.gradle file that creates.
Until it's updated to work with grails 3, you'll need to use the command line or the grails shell to issue commands
Don't forget, you're trying a milestone release (not even a beta, or release candidate), so you're living on the cutting edge, and tooling might take a bit to catch up with you ;-)
Grails 3 uses gradle. So create your app with grails create-app, and you can open the project as a gradle one. You loose the grails view, but it works.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With