title: "Groovy:unable to resolve class ..." (import error in LoginController.groovy)
body: <p>I am trying to use the "<strong>:spring-security-core:2.0-RC2</strong>" (using Grails version 2.3.1), but have my own <strong>LoginController.groovy</strong>. Following Burt's notes (<a href="https://stackoverflow.com/questions/19469249/grails-springsecurityplugin-not-generating-controllers">here</a> and <a href="https://stackoverflow.com/questions/19397159/grails-spring-security-logincontroller">here</a>), I copied the LoginController.groovy from the original location at "<em>myapp\target\work\plugins\spring-security-core-2.0-RC2\grails-app\controllers\grails\plugin\springsecurity</em>" to my project location at "<em>myapp\grails-app\controllers\com\company</em>". Now I get a bunch of import error messages like "<strong>Groovy:unable to resolve class ...</strong>" (I have attached am image below showing all the imports giving errors). How do I take care of these errors?</p>
  
  <p>Sorry if this is a trivial question (still getting used to Grails), and thank you for the help! </p>
  
  <p><img src="https://i.stack.imgur.com/XOdmH.png" alt="enter image description here"></p>