更新至IntelliJ IDEA Ultimate 2016.2后未找到Grails应用程序 [英] Grails application is not found after updating to IntelliJ IDEA Ultimate 2016.2

查看:350
本文介绍了更新至IntelliJ IDEA Ultimate 2016.2后未找到Grails应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将IntelliJ IDEA Ultimate更新至2016.2版本。



我有一个Grails 3项目,现在当我打开IDE时,尝试尝试以下错误运行我的项目:

 运行Grails时出错:My_Project:找不到Grails应用程序

我仍然可以打开终端并手动运行该项目,但似乎IntelliJ IDEA不再识别我的Grails应用程序。在编辑配置...时,在应用程序中显示[none],我无法选择任何内容。

9
Groovy版本:2.4.7
JVM版本:1.8.0_66

解决方案

<这是刷新gradle项目。



您可以通过弹出小gradle选项卡并点击刷新所有Gradle项目来完成此操作。


I have updated my IntelliJ IDEA Ultimate to the 2016.2 version.

I had a Grails 3 project and now when I open the IDE I get the following error when trying to run my project:

Error running Grails: My_Project: Grails application is not found

I can still open the terminal and run the project manually, but it seems that IntelliJ IDEA no longer recognises my Grails application. When going to "Edit configurations...", in "Application" it says "[none]" and I can't select anything.

Grails Version: 3.1.9 Groovy Version: 2.4.7 JVM Version: 1.8.0_66

解决方案

A Simple solution to this is to refresh the gradle projects.

You can do this by popping out the little gradle tab and hitting the "Refresh All Gradle Projects"

这篇关于更新至IntelliJ IDEA Ultimate 2016.2后未找到Grails应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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