I was following this tutorial to create grails (version 2.3.1) application.
I am not using Maven and instead of MongoDb i'm using postgresql, but I believe these changes are not the things to be concerned for the issue I am facing.
After $ grails integrate-with --intellij
, I ran the project on the intellij.
I am getting this error:
Caught: groovy.lang.MissingPropertyException: No such property: grails for class: BuildConfig groovy.lang.MissingPropertyException: No such property: grails for class: BuildConfig at BuildConfig.run(BuildConfig.groovy:1)
I suspect that there may be some issue in Framework Support.
I googled for adding framework and according to this, Add Framework Support UI should show grails library, but for me it is not showing, please see the below screenshot.
First question, is the error i am getting because of wrong framework (I suspect this because the error is saying no such property as grails), if so how to add grails framework support.
Secondly, If this is not the cause for the error then what else I am doing wrong ?
You can assume I am a newbie-newbie, I just started Grails for the first time in my life just half-an-hour back. So, you can point out any stupid mistakes I might have done.