After adding ContextLoaderListener in web.xml, my Tomcat cannot startup
<ul>
<li>Operating system: Mac OS </li>
<li>JDK version: 1.7.0_79</li>
<li>Tomcat version: 8.0.29</li>
</ul>

<p>My web.xml:</p>

<pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;web-app version="2.5"
         xmlns="http://java.sun.com/xml/ns/javaee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
    http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"&gt;
  &lt;filter&gt;
    &lt;filter-name&gt;encodingFilter&lt;/filter-name&gt;
    &lt;filter-class&gt;org.springframework.web.filter.CharacterEncodingFilter&lt;/filter-class&gt;
    &lt;init-param&gt;
      &lt;param-name&gt;encoding&lt;/param-name&gt;
      &lt;param-value&gt;UTF-8&lt;/param-value&gt;
    &lt;/init-param&gt;
  &lt;/filter&gt;
  &lt;filter-mapping&gt;
    &lt;filter-name&gt;encodingFilter&lt;/filter-name&gt;
    &lt;url-pattern&gt;/*&lt;/url-pattern&gt;
  &lt;/filter-mapping&gt;
  &lt;!-- spring listener --&gt;
  &lt;listener&gt;
    &lt;listener-class&gt;org.springframework.web.context.ContextLoaderListener&lt;/listener-class&gt;
  &lt;/listener&gt;
  &lt;!-- spring --&gt;
  &lt;context-param&gt;
    &lt;param-name&gt;contextConfigLocation&lt;/param-name&gt;
    &lt;param-value&gt;classpath:spring/applicationContext.xml&lt;/param-value&gt;
  &lt;/context-param&gt;
  &lt;!-- SpringMVC --&gt;
  &lt;servlet&gt;
  &lt;servlet-name&gt;springmvc&lt;/servlet-name&gt;
  &lt;servlet-class&gt;org.springframework.web.servlet.DispatcherServlet&lt;/servlet-class&gt;
  &lt;init-param&gt;
    &lt;param-name&gt;contextConfigLocation&lt;/param-name&gt;
    &lt;param-value&gt;classpath:springmvc/spring-mvc.xml&lt;/param-value&gt;
  &lt;/init-param&gt;
  &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
&lt;/servlet&gt;
  &lt;servlet-mapping&gt;
    &lt;servlet-name&gt;springmvc&lt;/servlet-name&gt;
    &lt;url-pattern&gt;*.do&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt;
&lt;/web-app&gt;
</code></pre>

<p>The tomcat startup message:</p>

<pre><code>/Users/wengliemiao/Documents/study/apache-tomcat-8.0.29-idea2/bin/catalina.sh run
[2016-01-02 03:30:53,918] Artifact CrowFunding:war exploded: Server is not connected. Deploy is not available.
02-Jan-2016 15:30:54.920 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.0.29
02-Jan-2016 15:30:54.922 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Nov 20 2015 09:18:00 UTC
02-Jan-2016 15:30:54.922 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.0.29.0
02-Jan-2016 15:30:54.922 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Mac OS X
02-Jan-2016 15:30:54.922 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            10.11.1
02-Jan-2016 15:30:54.922 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          x86_64
02-Jan-2016 15:30:54.922 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre
02-Jan-2016 15:30:54.922 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.7.0_79-b15
02-Jan-2016 15:30:54.923 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation
02-Jan-2016 15:30:54.923 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         /Users/wengliemiao/Library/Caches/IntelliJIdea15/tomcat/Unnamed_CrowFunding_3
02-Jan-2016 15:30:54.923 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         /Users/wengliemiao/Documents/study/apache-tomcat-8.0.29-idea2
02-Jan-2016 15:30:54.924 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/Users/wengliemiao/Library/Caches/IntelliJIdea15/tomcat/Unnamed_CrowFunding_3/conf/logging.properties
02-Jan-2016 15:30:54.924 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
02-Jan-2016 15:30:54.924 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote=
02-Jan-2016 15:30:54.924 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=1099
02-Jan-2016 15:30:54.924 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false
02-Jan-2016 15:30:54.924 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
02-Jan-2016 15:30:54.925 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=127.0.0.1
02-Jan-2016 15:30:54.925 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.endorsed.dirs=/Users/wengliemiao/Documents/study/apache-tomcat-8.0.29-idea2/endorsed
02-Jan-2016 15:30:54.925 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/Users/wengliemiao/Library/Caches/IntelliJIdea15/tomcat/Unnamed_CrowFunding_3
02-Jan-2016 15:30:54.925 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/Users/wengliemiao/Documents/study/apache-tomcat-8.0.29-idea2
02-Jan-2016 15:30:54.925 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/Users/wengliemiao/Documents/study/apache-tomcat-8.0.29-idea2/temp
02-Jan-2016 15:30:54.925 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /Users/wengliemiao/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
02-Jan-2016 15:30:55.064 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
02-Jan-2016 15:30:55.087 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
02-Jan-2016 15:30:55.090 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
02-Jan-2016 15:30:55.093 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
02-Jan-2016 15:30:55.093 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 592 ms
02-Jan-2016 15:30:55.124 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
02-Jan-2016 15:30:55.124 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.29
02-Jan-2016 15:30:55.138 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
02-Jan-2016 15:30:55.150 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
02-Jan-2016 15:30:55.151 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 58 ms
Connected to server
[2016-01-02 03:30:55,474] Artifact CrowFunding:war exploded: Artifact is being deployed, please wait...
02-Jan-2016 15:30:57.248 INFO [RMI TCP Connection(2)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
02-Jan-2016 15:31:05.142 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /Users/wengliemiao/Documents/study/apache-tomcat-8.0.29-idea2/webapps/manager
02-Jan-2016 15:31:05.184 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /Users/wengliemiao/Documents/study/apache-tomcat-8.0.29-idea2/webapps/manager has finished in 42 ms
02-Jan-2016 15:41:18.744 WARNING [main] org.apache.catalina.core.StandardServer.await StandardServer.await: Invalid command '' received
</code></pre>

<p>My problem is that: the tomcat just cannot startup. And when I remove the ContextLoaderListener, the application can startup, But it will have org.springframework.beans.factory.BeanCreationException appear.</p>