When creating a Grails 3 project via the command line and importing it as a Gradle project in IntelliJ some GORM methods are not recognized.
This seems to affect all CRUD based methods. All I get is a warning that the symbol is not resolvable.
I am using Intellij 2016.1.2 with Grails 3.1.6, and the domain class is defined as a Groovy class.
The warning message I get is:
Cannot resolve symbol 'save'
The project is imported as a Gradle project since it's the build tool they are using now. Grails is added as a Framework support and the Grails SDK is selected. The application compiles, builds and assembles correctly.