This is /not/ a duplicate of Grails Spring Core Security Plugin - Unable to Resolve Classes.
I am upgrading some code from grails 2.2.4 to grails 2.4.4 (java 7) and using the Spring Security plugins.
An import that worked under 2.2.4 began not working under 2.4.4, and I went looking for answers.
I have followed the answer at the link below
Grails Spring Core Security Plugin - Unable to Resolve Classes, and changed
import grails.plugins.springsecurity.Secured
to
import grails.plugin.springsecurity.annotation.Secured
But the problem persists. I am unable to use the @Secured annotations in my controller.
The error message is simple:
unable to resolve class grails.plugin.springsecurity.annotation.Secured
From BuildConfig.groovy:
plugins { ... compile ':spring-security-core:2.0-RC4' ... }
I know RC5 is the latest, but for compatibility reasons with the searchable plugin I have to use RC4.
Please let me know if you need any other information. @cfrick I am using Netbeans 8.0.2 :)