title: Spring Security Core Plugin 2.0-RC2 upgrade issue?
body: <p>I have a grails project and I just upgraded my Spring Security Core plugin to the latest version however I get the following message when trying to run the app:</p>
  
  <pre><code>| Error Compilation error: startup failed:
  Compile error during compilation with javac.
  /home/dev/.grails/2.1.0/projects/app/plugins/spring-security-ldap-1.0.6/src/java/org/codehaus/groovy/grails/plugins/springsecurity/ldap/DatabaseOnlyLdapAuthoritiesPopulator.java:20: cannot find symbol
  symbol  : class GrailsUserDetailsService
  location: package org.codehaus.groovy.grails.plugins.springsecurity
  import org.codehaus.groovy.grails.plugins.springsecurity.GrailsUserDetailsService;
                                                          ^
  /home/dev/.grails/2.1.0/projects/app/plugins/spring-security-ldap-1.0.6/src/java/org/codehaus/groovy/grails/plugins/springsecurity/ldap/DatabaseOnlyLdapAuthoritiesPopulator.java:37: cannot find symbol
  symbol  : class GrailsUserDetailsService
  location: class org.codehaus.groovy.grails.plugins.springsecurity.ldap.DatabaseOnlyLdapAuthoritiesPopulator
      private GrailsUserDetailsService _userDetailsService;
              ^
  /home/dev/.grails/2.1.0/projects/app/plugins/spring-security-ldap-1.0.6/src/java/org/codehaus/groovy/grails/plugins/springsecurity/ldap/DatabaseOnlyLdapAuthoritiesPopulator.java:71: cannot find symbol
  symbol  : class GrailsUserDetailsService
  location: class org.codehaus.groovy.grails.plugins.springsecurity.ldap.DatabaseOnlyLdapAuthoritiesPopulator
      public void setUserDetailsService(final GrailsUserDetailsService service) {
                                              ^
  /home/dev/.grails/2.1.0/projects/app/plugins/spring-security-ldap-1.0.6/src/java/org/codehaus/groovy/grails/plugins/springsecurity/ldap/GrailsLdapAuthoritiesPopulator.java:20: cannot find symbol
  symbol  : class GrailsUserDetailsService
  location: package org.codehaus.groovy.grails.plugins.springsecurity
  import org.codehaus.groovy.grails.plugins.springsecurity.GrailsUserDetailsService;
                                                          ^
  /home/dev/.grails/2.1.0/projects/app/plugins/spring-security-ldap-1.0.6/src/java/org/codehaus/groovy/grails/plugins/springsecurity/ldap/GrailsLdapAuthoritiesPopulator.java:36: cannot find symbol
  symbol  : class GrailsUserDetailsService
  location: class org.codehaus.groovy.grails.plugins.springsecurity.ldap.GrailsLdapAuthoritiesPopulator
      private GrailsUserDetailsService _userDetailsService;
              ^
  /home/dev/.grails/2.1.0/projects/app/plugins/spring-security-ldap-1.0.6/src/java/org/codehaus/groovy/grails/plugins/springsecurity/ldap/GrailsLdapAuthoritiesPopulator.java:147: cannot find symbol
  symbol  : class GrailsUserDetailsService
  location: class org.codehaus.groovy.grails.plugins.springsecurity.ldap.GrailsLdapAuthoritiesPopulator
      public void setUserDetailsService(final GrailsUserDetailsService service) {
                                              ^
  /home/dev/.grails/2.1.0/projects/app/plugins/spring-security-ldap-1.0.6/src/java/org/codehaus/groovy/grails/plugins/springsecurity/ldap/GrailsLdapUserDetailsManager.java:3: cannot find symbol
  symbol  : class GrailsUserDetailsService
  location: package org.codehaus.groovy.grails.plugins.springsecurity
  import org.codehaus.groovy.grails.plugins.springsecurity.GrailsUserDetailsService;
                                                          ^
  /home/dev/.grails/2.1.0/projects/app/plugins/spring-security-ldap-1.0.6/src/java/org/codehaus/groovy/grails/plugins/springsecurity/ldap/GrailsLdapUserDetailsManager.java:13: cannot find symbol
  symbol: class GrailsUserDetailsService
  public class GrailsLdapUserDetailsManager extends LdapUserDetailsManager implements GrailsUserDetailsService {
                                                                                      ^
  Note: Some input files use or override a deprecated API.
  Note: Recompile with -Xlint:deprecation for details.
  8 errors
  </code></pre>
  
  <p>Can someone please help with this?</p>
  
  <p>Thanks</p>
  
  <hr>
  
  <p><em><strong></em>**</strong><em>EDIT</em><strong><em>*</em>**<em>*</em></strong></p>
  
  <hr>
  
  <p>I have now gone through the plugins and core files and made sure all new Spring Security imports are correct. The app now compiles fine however when I run it and try to access the home page I get the following errors:</p>
  
  <pre><code>| Running Grails application
  
  Configuring Spring Security UI ...
  ... finished configuring Spring Security UI
  
  Configuring Spring Security Core ...
  ... finished configuring Spring Security Core
  | Error 2014-03-10 11:44:51,598 [pool-7-thread-1] ERROR plugins.DefaultGrailsPluginManager  - Error configuring dynamic methods for plugin [springSecurityCore:2.0-RC2]: null
  Message: null
     Line | Method
  -&gt;&gt; 308 | compileStaticRules        in grails.plugin.springsecurity.web.access.intercept.AnnotationFilterInvocationDefinition
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
  |   218 | initialize                in     ''
  |   738 | initializeFromAnnotations in SpringSecurityCoreGrailsPlugin
  |   599 | doCall                    in SpringSecurityCoreGrailsPlugin$_closure3
  |   303 | innerRun . . . . . . . .  in java.util.concurrent.FutureTask$Sync
  |   138 | run                       in java.util.concurrent.FutureTask
  |   895 | runTask . . . . . . . . . in java.util.concurrent.ThreadPoolExecutor$Worker
  |   918 | run                       in     ''
  ^   662 | run . . . . . . . . . . . in java.lang.Thread
  | Server running. Browse to http://localhost:8080/my_app
  | Error 2014-03-10 11:49:36,541 [http-bio-8080-exec-2] ERROR [/my_app].[gsp]  - Servlet.service() for servlet [gsp] in context with path [/my_app] threw exception
  Message: null
     Line | Method
  -&gt;&gt; 273 | isAjax                          in grails.plugin.springsecurity.SpringSecurityUtils
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
  |    45 | determineUrlToUseForThisRequest in grails.plugin.springsecurity.web.authentication.AjaxAwareAuthenticationEntryPoint
  |    53 | doFilter . . . . . . . . . . .  in grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter
  |    49 | doFilter                        in grails.plugin.springsecurity.web.authentication.RequestHolderAuthenticationFilter
  |    82 | doFilter . . . . . . . . . . .  in grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter
  |   895 | runTask                         in java.util.concurrent.ThreadPoolExecutor$Worker
  |   918 | run . . . . . . . . . . . . . . in     ''
  ^   662 | run                             in java.lang.Thread
  </code></pre>
  
  <p>Can someone please offer any guidance on this?</p>
  
  <p>Thanks</p>