title: ClassNotFoundException after upgrade to Grails 2.4.0
body: <p>I upgraded my Grails project from grails-2.3.7 to grails-2.4.0 and followed the guide <a href="http://grails.org/doc/2.4.x/guide/upgradingFrom23.html" rel="nofollow">http://grails.org/doc/2.4.x/guide/upgradingFrom23.html</a>. However, trying to run the app now yields the stack trace below. How do I fix this?</p>
  
  <pre><code>| Running Grails application
  | Error 2014-06-12 15:45:55,788 [localhost-startStop-1] ERROR context.GrailsContextLoaderListener  - Error initializing the application: Error creating bean with name 'grailsApplicationPostProcessor': Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/springframework/core/annotation/AnnotatedElementUtils
  Message: Error creating bean with name 'grailsApplicationPostProcessor': Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/springframework/core/annotation/AnnotatedElementUtils
      Line | Method
  -&gt;&gt;  262 | run       in java.util.concurrent.FutureTask
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  |   1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
  |    615 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
  ^    744 | run       in java.lang.Thread
  Caused by NoClassDefFoundError: org/springframework/core/annotation/AnnotatedElementUtils
  -&gt;&gt;  262 | run       in java.util.concurrent.FutureTask
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  |   1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
  |    615 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
  ^    744 | run       in java.lang.Thread
  Caused by ClassNotFoundException: org.springframework.core.annotation.AnnotatedElementUtils
  -&gt;&gt;  366 | run       in java.net.URLClassLoader$1
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  |    355 | run       in     ''
  |    354 | findClass in java.net.URLClassLoader
  |    425 | loadClass in java.lang.ClassLoader
  |    262 | run . . . in java.util.concurrent.FutureTask
  |   1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
  |    615 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
  ^    744 | run       in java.lang.Thread
  | Error Forked Grails VM exited with error
  </code></pre>