title: Grails 3.0.2 cannot resolve @Secured annotation in controller
body: <p>I try upgrade my application from Grails 2.4.4 to Grails 3.0.2 and I have problem with spring annotation.</p>
  
  <p>I have controller, like this:</p>
  
  <pre><code>import grails.plugins.springsecurity.annotation.Secured
  
  class MyController {  
  
      @Secured(['ROLE_ADMINS_GROUP'])
      def index() {
          // some code
      }
  }
  </code></pre>
  
  <p>In <code>depencencies</code> block in <code>build.gradle</code> I have this:</p>
  
  <pre><code>dependencies {
      provided 'org.springframework.boot:spring-boot-starter-logging'
      provided "org.springframework.boot:spring-boot-starter-actuator"
      provided "org.springframework.boot:spring-boot-autoconfigure"
      provided "org.springframework.boot:spring-boot-starter-tomcat"
  
      compile "org.springframework.boot:spring-boot-starter-security"
  
      provided "org.grails:grails-web-boot"
      provided "org.grails:grails-dependencies"
      provided 'javax.servlet:javax.servlet-api:3.1.0'
  
      testCompile "org.grails:grails-plugin-testing"
  
      console "org.grails:grails-console"
  
      compile "org.grails.plugins:wslite:0.7.2.0"
  }
  </code></pre>
  
  <p>When i try compile my application, I get error message.</p>
  
  <pre><code>MyController.groovy: 4: unable to resolve class grails.plugins.springsecurity.annotation.Secured
  @ line 4, column 1.
  import grails.plugins.springsecurity.annotation.Secured
  ^
  </code></pre>