一個SSH的項目,用Eclipse新建了一個工程,把原有的項目的.settings、src、web、java_test 四個文件覆蓋了進去,項目沒有報錯,然後發布啟動後404無法訪問,日志如下,\web\WEB-INF\lib下的jar包我已經全部導入了,我查好像是說spring-web這個包沒找到,但是我已經導進去了,剛參加工作不久經驗太少了,求大神幫忙看看是什麼問題
八月 03, 2015 10:31:23 上午 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.8.0_45\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre1.8.0_45/bin/server;C:/Program Files/Java/jre1.8.0_45/bin;C:/Program Files/Java/jre1.8.0_45/lib/amd64;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files (x86)\Java\jdk1.8.0_45\bin;C:\Program Files (x86)\Java\jdk1.8.0_45\db\bin;D:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;D:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;D:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Java\jdk1.8.0_45\bin;D:\Maven\apache-maven-3.3.3\bin;C:\Program Files\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;D:\Eclipse;;.
八月 03, 2015 10:31:23 上午 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:CasJob' did not find a matching property.
八月 03, 2015 10:31:23 上午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-8080"]
八月 03, 2015 10:31:23 上午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-bio-8009"]
八月 03, 2015 10:31:23 上午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 722 ms
八月 03, 2015 10:31:23 上午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
八月 03, 2015 10:31:23 上午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.42
八月 03, 2015 10:31:28 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://www.extremecomponents.org is already defined
八月 03, 2015 10:31:28 上午 org.apache.catalina.core.StandardContext listenerStart
嚴重: Error configuring application listener of class org.apache.catalina.deploy.ApplicationListener@601ba7cb
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:527)
at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:509)
at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:137)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4854)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
八月 03, 2015 10:31:28 上午 org.apache.catalina.core.StandardContext listenerStart
嚴重: Error configuring application listener of class org.apache.catalina.deploy.ApplicationListener@730287da
java.lang.ClassNotFoundException: org.springframework.web.context.request.RequestContextListener
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:527)
at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:509)
at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:137)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4854)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
八月 03, 2015 10:31:28 上午 org.apache.catalina.core.StandardContext listenerStart
嚴重: Error configuring application listener of class org.apache.catalina.deploy.ApplicationListener@478f3763
java.lang.ClassNotFoundException: org.springframework.web.util.IntrospectorCleanupListener
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:527)
at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:509)
at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:137)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4854)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
八月 03, 2015 10:31:28 上午 org.apache.catalina.core.StandardContext listenerStart
嚴重: Skipped installing application listeners due to previous error(s)
八月 03, 2015 10:31:28 上午 org.apache.catalina.core.StandardContext startInternal
嚴重: Error listenerStart
八月 03, 2015 10:31:28 上午 org.apache.catalina.util.SessionIdGenerator createSecureRandom
信息: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [205] milliseconds.
八月 03, 2015 10:31:28 上午 org.apache.catalina.core.StandardContext startInternal
嚴重: Context [/CasJob] startup failed due to previous errors
八月 03, 2015 10:31:28 上午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory C:\xampp\tomcat\webapps\docs
八月 03, 2015 10:31:28 上午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory C:\xampp\tomcat\webapps\examples
八月 03, 2015 10:31:29 上午 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
八月 03, 2015 10:31:29 上午 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
八月 03, 2015 10:31:29 上午 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@1221e05a')
八月 03, 2015 10:31:29 上午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory C:\xampp\tomcat\webapps\host-manager
八月 03, 2015 10:31:29 上午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory C:\xampp\tomcat\webapps\manager
八月 03, 2015 10:31:29 上午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory C:\xampp\tomcat\webapps\ROOT
八月 03, 2015 10:31:29 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8080"]
八月 03, 2015 10:31:29 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-bio-8009"]
八月 03, 2015 10:31:29 上午 org.apache.catalina.startup.Catalina start
信息: Server startup in 5474 ms
最後發現是 Java Cimplier 中 Compiler compliance level 號選的不對,改過來以後就好了