IntelliJ IDEA Grails 3.0错误 [英] IntelliJ IDEA Grails 3.0 Error

查看:171
本文介绍了IntelliJ IDEA Grails 3.0错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用IntelliJ IDEA使用新的grails-3.0 M1 SDK创建一个新的Grails项目,但是当运行create-app时,出现以下错误:

 错误:无法找到或加载主类org.codehaus.groovy.grails.cli.support.GrailsS​​tarter 

以前的grail版本工作正常(我正确配置了环境变量)

有关它的任何解决方法?



谢谢

解决方案

您是否试图在理念中使用grails集成? Grails 3如此不同,我怀疑它会起作用。只需从命令行创建应用程序,然后将该项目从创建的build.gradle文件导入到创意中。



在更新后可以使用grails 3,您需要使用命令行或者grails shell来发布命令



不要忘记,你正在尝试一个里程碑式的发布(甚至不是测试版或发布候选版本),所以你生活在最前沿,工具可能需要一点时间才能赶上你; - )

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 ;-)

这篇关于IntelliJ IDEA Grails 3.0错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆