title: conflict with spring-orm 3.2.3 NoClassDefFoundError
body: <p>Im trying to make a simple spring mvc + hibernate to test a basic form.
  im trying to use LocalSessionFactoryBean.
  The problem it's that each time I import the maven dependency spring-orm 3.2.3 for the LocalSessionFactoryBean it rises the next problem:</p>
  
  <pre><code>java.lang.NoClassDefFoundError: org/springframework/beans/factory/NoUniqueBeanDefinitionException
  at java.lang.Class.getDeclaredMethods0(Native Method)
  at java.lang.Class.privateGetDeclaredMethods(Class.java:2451)
  at java.lang.Class.getDeclaredMethods(Class.java:1810)
  at org.springframework.core.type.StandardAnnotationMetadata.hasAnnotatedMethods(StandardAnnotationMetadata.java:159)
  at org.springframework.context.annotation.ConfigurationClassUtils.isLiteConfigurationCandidate(ConfigurationClassUtils.java:106)
  at org.springframework.context.annotation.ConfigurationClassUtils.checkConfigurationClassCandidate(ConfigurationClassUtils.java:87)
  at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:233)
  at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:203)
  at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:617)
  at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:446)
  at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:631)
  at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:588)
  at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:645)
  at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:508)
  at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:449)
  at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:133)
  at javax.servlet.GenericServlet.init(GenericServlet.java:160)
  at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1280)
  at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1193)
  at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1088)
  at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5123)
  at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5407)
  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
  at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3926)
  at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:426)
  at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1345)
  at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1530)
  at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1540)
  at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1540)
  at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1519)
  at java.lang.Thread.run(Thread.java:722)
  Caused by: java.lang.ClassNotFoundException: org.springframework.beans.factory.NoUniqueBeanDefinitionException
  at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
  at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
  ... 31 more
  
  Aug 03, 2013 3:11:30 PM org.apache.catalina.core.StandardContext loadOnStartup
  SEVERE: Servlet /paidosTest threw load() exception
  java.lang.ClassNotFoundException: org.springframework.beans.factory.NoUniqueBeanDefinitionException
  at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
  at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
  at java.lang.Class.getDeclaredMethods0(Native Method)
  at java.lang.Class.privateGetDeclaredMethods(Class.java:2451)
  at java.lang.Class.getDeclaredMethods(Class.java:1810)
  at org.springframework.core.type.StandardAnnotationMetadata.hasAnnotatedMethods(StandardAnnotationMetadata.java:159)
  at org.springframework.context.annotation.ConfigurationClassUtils.isLiteConfigurationCandidate(ConfigurationClassUtils.java:106)
  at org.springframework.context.annotation.ConfigurationClassUtils.checkConfigurationClassCandidate(ConfigurationClassUtils.java:87)
  at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:233)
  at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:203)
  at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:617)
  at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:446)
  at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:631)
  at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:588)
  at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:645)
  at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:508)
  at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:449)
  at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:133)
  at javax.servlet.GenericServlet.init(GenericServlet.java:160)
  at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1280)
  at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1193)
  at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1088)
  at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5123)
  at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5407)
  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
  at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3926)
  at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:426)
  at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1345)
  at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1530)
  at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1540)
  at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1540)
  at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1519)
  at java.lang.Thread.run(Thread.java:722) 
  </code></pre>
  
  <p>My current dependencies are:</p>
  
  <p><img src="https://i.stack.imgur.com/VHitX.png" alt="enter image description here"></p>
  
  <p>also hibernate-core-4.3.0Beta3.jar
  My bean for the sessionFactory</p>
  
  <pre><code>    &lt;beans:bean id="sessionFactory"
      class="org.springframework.orm.hibernate4.LocalSessionFactoryBean"
      p:dataSource-ref="dataSource"
      p:packagesToScan="com.carloscortina.paidosTest.domain"
      p:hibernateProperties-ref="hibernateProperties" /&gt;
  </code></pre>
  
  <p>I hope this information its enough to get some advise, thanks in advance.</p>