Nadika Bandara
Nadika Bandara

Reputation: 11

Importing Grails project to IntelliJ IDEA using Gradle fails

When importing a Grails 3+ project to IntelliJ IDEA Ultimate, the Gradle build stops at “Starting Gradle Daemon...”.

Screenshot of IntelliJ build window

This happens when a new Grails 3 project is created using the command “grails create-app projectName” and imported to IntelliJ IDEA using Gradle.

My system configuration:

The Gradle build fails with no other error messages.

“gradle”, “./gradlew”, “./gradlew bootRun” commands work as expected on the terminal.

Upvotes: 1

Views: 553

Answers (1)

Andrey
Andrey

Reputation: 16431

Check the Gradle JVM which is set for project and make sure it is compatible for the Gradle version used in project:

enter image description here

Try setting different JDKs including the 1.8 JDK there.

Upvotes: 2

Related Questions