title: Exception occured while Spring starting.please help me
body: <p>IDE:Idea
  FrameWork:Spring+SringMVC+Mybatis+MongoDB+ActiveMQ
  Please give me a hand,thanks.</p>
  
  <p>I add others error infomation.
  It's strange that while I use "mvn tomcat7:run" to start the project ,it started success! but using debug/run in idea , it occurs these errors.</p>
  
  <pre><code>java.lang.NoSuchMethodError: org.springframework.util.ReflectionUtils.doWithLocalFields(Ljava/lang/Class;Lorg/springframework/util/ReflectionUtils$FieldCallback;)V
  at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.buildPersistenceMetadata(PersistenceAnnotationBeanPostProcessor.java:418)
  </code></pre>
  
  <p><code>java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: Root WebApplicationContext: startup date [Wed Aug 24 15:09:35 CST 2016]; root of context hierarchy</code></p>
  
  <p><code>[2016-08-24 15:09:36] --- [WARN] --- [AbstractApplicationContext.java:887] --- [Exception thrown from LifecycleProcessor on context close] --- 
  at org.springframework.context.support.AbstractApplicationContext.getLifecycleProcessor(AbstractApplicationContext.java:357)
      at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:884)
      at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:843)
      at org.springframework.web.context.ContextLoader.closeWebApplicationContext(ContextLoader.java:581)
      at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:116)
      at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:5124)
      at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5786)
      at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
      at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1836)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:497)
      at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
      at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:618)
      at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:565)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:497)
      at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
      at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
      at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
      at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
      at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401)
      at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:497)
      at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:323)
      at sun.rmi.transport.Transport$1.run(Transport.java:200)
      at sun.rmi.transport.Transport$1.run(Transport.java:197)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
      at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$256(TCPTransport.java:683)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)</code></p>
  
  <p>This is My pom.xml
  Please have a look,  thank u.</p>
  
  <pre><code> &lt;spring.version&gt;4.3.2.RELEASE&lt;/spring.version&gt;
      &lt;mybatis.version&gt;3.4.1&lt;/mybatis.version&gt;
      &lt;mybatis-spring.version&gt;1.3.0&lt;/mybatis-spring.version&gt;
  
  
      &lt;aspectjweaver.version&gt;1.8.9&lt;/aspectjweaver.version&gt;
      &lt;persistence-api.version&gt;1.0.2&lt;/persistence-api.version&gt;
  
  
      &lt;junit.version&gt;4.12&lt;/junit.version&gt;
      &lt;mysql-connector.version&gt;5.1.21&lt;/mysql-connector.version&gt;
      &lt;druid.version&gt;1.0.4&lt;/druid.version&gt;
  
  
      &lt;spring-mongodb.version&gt;1.9.1.RELEASE&lt;/spring-mongodb.version&gt;
      &lt;spring-boot.version&gt;1.3.3.RELEASE&lt;/spring-boot.version&gt;
      &lt;mongodb.version&gt;3.2.0&lt;/mongodb.version&gt;
  
      &lt;activemq.version&gt;5.13.2&lt;/activemq.version&gt;
      &lt;spring-jms.version&gt;4.2.5.RELEASE&lt;/spring-jms.version&gt;
  </code></pre>