Intelli-J Error: "No Groovy SDK Defined"

  1. Right-click on the root of your Grails project and select "Add Framework Support".
  2. Select "Groovy".
  3. The dropdown menu next to "Use library" will allow you to choose a Grails library.
  4. If the "Use library" dropdown menu is empty, click "Create" and choose your Grails library directory. If you have installed Grails through SDKMAN, it will be located at: /Users/{username}/.sdkman/candidates/grails/current/ where {username} is your username.
  5. To remove an old version of Grails: Select File -> Project Structure -> Global Libraries. Delete the missing Grails version.