Search code examples
intellij-ideagrails

Grails application is not found after updating to IntelliJ IDEA Ultimate 2016.2


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


Solution

  • 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"