IntelliJ does not recognise an existing IntelliJ Grails project
Answered
The company I just started in have all their projects as IntelliJ - JDK 1.7/1.8 and grails 2.5.
The problem I have is that whenever I try and open a project on my newly built Windows machine in IntelliJ it is not recognised as a Grails project. I have tried with multiple versions of IntelliJ from latest preview to an old 2016 version and still no joy.
My colleagues can open the projects correctly but then again who knows what changes have been made to their installation to make it work over the years.
Am I missing the point or should IntelliJ not just download any JDKs/SDks etc that is specified in the project?
I have tried installing Grails 2.5 and JDK 1.7/1.8 but no...
-rune
Please sign in to leave a comment.
The project must have standard grasils 2 structure with the web-app and grails-app directories, groovy build scripts in grails-app/conf directory.
If the project already have the .idea directory, try removing it and open project again in IDE using File | New | project from Existing Sources... action. Just make sure you have the Grails and Groovy bundled plugins enabled. try also the version from https://www.jetbrains.com/idea/download/
If problem remains, please provide a sample project. It can be uploaded at https://uploads.jetbrains.com