Note that there are some explanatory texts on larger screens.

plurals
  1. POIntellij 12.1.6 (Community), Creating Grails project, Caught: groovy.lang.MissingPropertyException: No such property: grails for class: BuildConfig
    primarykey
    data
    text
    <p>I was following <a href="http://keaplogik.blogspot.in/p/developing-grails-web-application.html" rel="nofollow noreferrer">this</a> tutorial to create grails (version 2.3.1) application.</p> <p>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.</p> <p>After <code>$ grails integrate-with --intellij</code>, I ran the project on the intellij. I am getting this error:</p> <blockquote> <pre><code>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) </code></pre> </blockquote> <p>I suspect that there may be some issue in <strong>Framework Support</strong>. I googled for adding framework and according to <a href="https://stackoverflow.com/questions/14757758/intellij-12-grails-2-1-configuration-grails-sdk-not-configured">this</a>, Add Framework Support UI should show grails library, but for me it is not showing, please see the below screenshot. <img src="https://i.stack.imgur.com/5UoIJ.png" alt="Framework support for Grails"></p> <p>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.</p> <p>Secondly, If this is not the cause for the error then what else I am doing wrong ?</p> <p>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.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload