2 slavery8 slavery8 于 2014.07.23 10:47 提问

web程序运行不出来啊 希望大神指导啊

具体问题如下
2014-7-23 10:21:36 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.22.
2014-7-23 10:21:37 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 [false], sendfile [true], accept filters [false], random [true].
2014-7-23 10:21:37 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:spring1' did not find a matching property.
2014-7-23 10:21:37 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:Servers' did not find a matching property.
2014-7-23 10:21:38 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-apr-8080"]
2014-7-23 10:21:38 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-apr-8009"]
2014-7-23 10:21:38 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 2183 ms
2014-7-23 10:21:38 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
2014-7-23 10:21:38 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.23
2014-7-23 10:21:39 org.apache.catalina.core.ApplicationContext log
信息: Marking servlet spring as unavailable
2014-7-23 10:21:39 org.apache.catalina.core.StandardContext loadOnStartup
严重: Servlet /spring1 threw load() exception
java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1688)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1533)
at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:525)
at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:507)
at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:124)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1136)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1080)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5001)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5289)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1525)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1515)
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:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
2014-7-23 10:21:39 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory C:\Program Files\apache-tomcat-7.0.23\webapps\docs
2014-7-23 10:21:39 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory C:\Program Files\apache-tomcat-7.0.23\webapps\examples
2014-7-23 10:21:39 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2014-7-23 10:21:39 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2014-7-23 10:21:39 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@1554233')
2014-7-23 10:21:39 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory C:\Program Files\apache-tomcat-7.0.23\webapps\host-manager
2014-7-23 10:21:39 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory C:\Program Files\apache-tomcat-7.0.23\webapps\manager
2014-7-23 10:21:39 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory C:\Program Files\apache-tomcat-7.0.23\webapps\ROOT
2014-7-23 10:21:39 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-apr-8080"]
2014-7-23 10:21:40 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-apr-8009"]
2014-7-23 10:21:40 org.apache.catalina.startup.Catalina start
信息: Server startup in 1223 ms
2014-7-23 10:21:58 org.apache.catalina.core.StandardWrapperValve invoke
信息: Servlet spring is currently unavailable

1个回答

qwuack
qwuack   2014.07.24 09:42

缺少spring-webmvc这个jar包

Csdn user default icon
上传中...
上传图片
插入图片