为什么我用myeclipse时,一启动tomcat服务就出现了错误?而且还会一直不断的跳出类似的错误、
2011-11-50:42:14org.apache.catalina.core.AprLifecycleListenerinit信息:LoadedAPRbasedApa...
2011-11-5 0:42:14 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.20.
2011-11-5 0:42:14 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2011-11-5 0:42:16 org.apache.coyote.http11.Http11AprProtocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2011-11-5 0:42:16 org.apache.coyote.ajp.AjpAprProtocol init
信息: Initializing Coyote AJP/1.3 on ajp-8009
2011-11-5 0:42:16 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1882 ms
2011-11-5 0:42:16 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2011-11-5 0:42:16 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.29
2011-11-5 0:42:16 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor host-manager.xml
2011-11-5 0:42:16 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor manager.xml
2011-11-5 0:42:17 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory docs
2011-11-5 0:42:17 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory examples
2011-11-5 0:42:17 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2011-11-5 0:42:17 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2011-11-5 0:42:17 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory qizhongkao
2011-11-5 0:42:18 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory qizhongkao.myeclipse.bak
2011-11-5 0:42:18 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory ROOT
2011-11-5 0:42:18 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory Shop
2011-11-5 0:42:19 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory Shop.myeclipse.bak
2011-11-5 0:42:19 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(G:\学习软件\JAVA\tomcat6\webapps\Shop.myeclipse.bak\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
2011-11-5 0:42:21 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext 展开
信息: Loaded APR based Apache Tomcat Native library 1.1.20.
2011-11-5 0:42:14 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2011-11-5 0:42:16 org.apache.coyote.http11.Http11AprProtocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2011-11-5 0:42:16 org.apache.coyote.ajp.AjpAprProtocol init
信息: Initializing Coyote AJP/1.3 on ajp-8009
2011-11-5 0:42:16 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1882 ms
2011-11-5 0:42:16 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2011-11-5 0:42:16 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.29
2011-11-5 0:42:16 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor host-manager.xml
2011-11-5 0:42:16 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor manager.xml
2011-11-5 0:42:17 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory docs
2011-11-5 0:42:17 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory examples
2011-11-5 0:42:17 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2011-11-5 0:42:17 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2011-11-5 0:42:17 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory qizhongkao
2011-11-5 0:42:18 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory qizhongkao.myeclipse.bak
2011-11-5 0:42:18 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory ROOT
2011-11-5 0:42:18 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory Shop
2011-11-5 0:42:19 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory Shop.myeclipse.bak
2011-11-5 0:42:19 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(G:\学习软件\JAVA\tomcat6\webapps\Shop.myeclipse.bak\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
2011-11-5 0:42:21 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext 展开
1个回答
展开全部
卸载了重新安装吧。应该是没装好
更多追问追答
追问
卸载重装之后还是一样的错误啊、不知道是什么原因、一直跳出错误、
追答
这上面没有显示错误啊,你去tomcat的安装目录下找到bin目录
里面有startup.bat文件 ,双击它,在测试 http://localhost:8080/ 看看能不能出来
实在不行就去换个解压版本的tomcat,解压就能用了.不用配置tomcat,只要配置的Java的环境变量就行了.
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询