Groovy Bug

Hi all,

Currently, IntelliJ gives an error when creating filters in a Grails application (which used to work in IntelliJ 8). For example:

class SecurityFilters {
def filters = {
loginCheck(controller:'*', action:'*') {
before = {
if(!session.user && !actionName.equals('login')) {
return false


(example from doc) gives the error 'Variable definition expected' after the 'class SecurityFilters)

Please fix

Please sign in to leave a comment.