Grails Spring Core Security Plugin - Unable to Resolve Classes

后端 未结 1 725
余生分开走
余生分开走 2021-01-11 18:51

I\'m using Grails 2.2.2 and I\'ve already installed spring-security-core-2.0-RC2, by adding the below lines in my BuildConfig.groovy file:

Under the plugins:         


        
相关标签:
1条回答
  • 2021-01-11 19:40

    The annotation was moved to a different package - change

    import grails.plugins.springsecurity.Secured
    

    to

    import grails.plugin.springsecurity.annotation.Secured
    
    0 讨论(0)
提交回复
热议问题