Grails: Cannot resolve symbol 'group' in UrlMappings.groovy

I am using the following to create a URL mapping group inside UrlMappings.groovy:

        group("/rest") {
            "/events"(resources: 'event')
            "/candidates"(resources: 'candidate')
        }


According to the Grails 2.3 documentation, this syntax is valid.  Furthermore, Grails 2.3 does not report any errors when compiling my app and the URL mapping above works inside my app.

However, IntelliJ IDEA 13.0.2 Build IU-133.696 is flagging group above with the error, Cannot resolve symbol 'group'.  It is also flagging "/events" and "/candidates" with the same error.

This appears to be a bug inside the IDEA Grails plugin.  Should I open a bug report for this?

3 comments
Comment actions Permalink

FYI...Running Invalidate Caches / Restart... did not resolve this.

I am running IntelliJ IDEA 13.0.2 on Mac OSX Mavericks using Oracle JDK 1.7.0_51-b13 and Grails 2.3.5

0
Comment actions Permalink

I opened the following issue this morning for this.

http://youtrack.jetbrains.com/issue/IDEA-120664

0
Comment actions Permalink

According to the issue I opened, This will be fixed in IDEA version 13.1.

0

Please sign in to leave a comment.