title: Bean creation throws exception at the build time
body: <p>Hi all I have an exception thrown when building application to be deployed in tomcat, and I am suspecting pom.xml is the source as I found in the net that dependencies are the responsible causes for this  exception, anyhow, here is my stack trace:</p>
  
  <pre><code>GRAVE: Context initialization failed
  org.springframework.beans.factory.BeanCreationException: Error creating bean with      
  name 'productWebService': Error setting property values; nested exception is   
   org.springframework.beans.PropertyBatchUpdateException; nested   
  PropertyAccessExceptions (1) are:
  
  PropertyAccessException 1: org.springframework.beans.MethodInvocationException:    
   Property 'serviceBeans' threw exception; nested exception is   
  java.lang.NoSuchMethodError:    
   org.springframework.util.ClassUtils.isCglibProxyClass(Ljava/lang/Class;)Z
  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1361)
  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086)
  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
  at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
  at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
  at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
  at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
  at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
  at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
  at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
  at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
  at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
  at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4701)
  at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5204)
  at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5199)
  at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
  at java.util.concurrent.FutureTask.run(FutureTask.java:138)
  at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
  at java.lang.Thread.run(Thread.java:662)
  Caused by: org.springframework.beans.PropertyBatchUpdateException; nested    
  PropertyAccessExceptions (1) are:
  PropertyAccessException 1: org.springframework.beans.MethodInvocationException:    
  Property 'serviceBeans' threw exception; nested exception is     
  java.lang.NoSuchMethodError:   
  org.springframework.util.ClassUtils.isCglibProxyClass(Ljava/lang/Class;)Z
  at .....    
  
  
  13 mars 2014 08:56:27 org.apache.catalina.core.StandardContext startInternal
  GRAVE: Error listenerStart
  13 mars 2014 08:56:27 org.apache.catalina.core.StandardContext startInternal
  GRAVE: Erreur de démarrage du contexte [/WebApp] suite aux erreurs précédentes
  13 mars 2014 08:56:27 org.apache.catalina.core.ApplicationContext log
  INFO: Closing Spring root WebApplicationContext
  13 mars 2014 08:56:27 org.apache.coyote.AbstractProtocolHandler start
  INFO: Starting ProtocolHandler ["http-bio-8080"]
  13 mars 2014 08:56:27 org.apache.coyote.AbstractProtocolHandler start
  INFO: Starting ProtocolHandler ["ajp-bio-8009"]
  13 mars 2014 08:56:27 org.apache.catalina.startup.Catalina start
  INFO: Server startup in 6330 ms
  </code></pre>
  
  <p>here is my pom.xml:</p>
  
  <p>http://maven.apache.org/maven-v4_0_0.xsd">
      4.0.0
      net.ma.s2m
      WebApp
      war
      1.0-SNAPSHOT
      WebApp Maven Webapp
      <a href="http://maven.apache.org" rel="nofollow">http://maven.apache.org</a></p>
  
  <pre><code>&lt;properties&gt;
      &lt;cxf.version&gt;3.0.0-milestone2&lt;/cxf.version&gt;
      &lt;org.springframework.version&gt;3.0.5.RELEASE&lt;/org.springframework.version&gt;
  &lt;/properties&gt;
  &lt;build&gt;
      &lt;finalName&gt;WebApp&lt;/finalName&gt;
  &lt;/build&gt;
  &lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.eclipse.persistence&lt;/groupId&gt;
          &lt;artifactId&gt;eclipselink&lt;/artifactId&gt;
          &lt;version&gt;2.5.0-RC1&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.apache.cxf&lt;/groupId&gt;
          &lt;artifactId&gt;cxf-rt-frontend-jaxrs&lt;/artifactId&gt;
          &lt;version&gt;${cxf.version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.apache.cxf&lt;/groupId&gt;
          &lt;artifactId&gt;cxf-rt-transports-http&lt;/artifactId&gt;
          &lt;version&gt;${cxf.version}&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework&lt;/groupId&gt;
          &lt;artifactId&gt;spring-core&lt;/artifactId&gt;
          &lt;version&gt;${org.springframework.version}&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework&lt;/groupId&gt;
          &lt;artifactId&gt;spring-web&lt;/artifactId&gt;
          &lt;version&gt;${org.springframework.version}&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework&lt;/groupId&gt;
          &lt;artifactId&gt;spring-context&lt;/artifactId&gt;
          &lt;version&gt;${org.springframework.version}&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework&lt;/groupId&gt;
          &lt;artifactId&gt;spring-jdbc&lt;/artifactId&gt;
          &lt;version&gt;${org.springframework.version}&lt;/version&gt;
          &lt;exclusions&gt;
              &lt;exclusion&gt;
                  &lt;groupId&gt;org.springframework&lt;/groupId&gt;
                  &lt;artifactId&gt;spring-core&lt;/artifactId&gt;
              &lt;/exclusion&gt;
              &lt;exclusion&gt;
                  &lt;groupId&gt;org.springframework&lt;/groupId&gt;
                  &lt;artifactId&gt;spring-beans&lt;/artifactId&gt;
              &lt;/exclusion&gt;
              &lt;exclusion&gt;
                  &lt;groupId&gt;org.springframework&lt;/groupId&gt;
                  &lt;artifactId&gt;spring-context&lt;/artifactId&gt;
              &lt;/exclusion&gt;
          &lt;/exclusions&gt;
      &lt;/dependency&gt;
  
  &lt;/dependencies&gt;
  </code></pre>
  
  <p></p>