Tomcat启动时报错:“ Error starting static Resources”问题解决

对于这个问题,我纠结了好几天,后来才明白是由于什么原因引起的,下面将我的解决办法分享下来。
一般来说出现这种错误是由于你在MyEclipse或Eclipse中删除了某个项目后,没有将Tomcat-6.x\conf\server.xml相关修改完全,才影起了这个问题,那么要怎么解决了?
解决办法:
第一步 清空Tomcat-6.x目录下的work目录;
第二步 再把server.xml的没有用的连接配置都删除或者注释掉;
第三步 最后再将conf目录下的Catalina目录下的localhost内的所有文件都删除。
然后再重新启动tomcat服务器便可以正常工作了,也不会再出现开始的问题了。

时间: 2024-09-08 09:22:55

Tomcat启动时报错:“ Error starting static Resources”问题解决的相关文章

tomcat启动时报错请求解决

问题描述 tomcat启动时报错请求解决 重: A child container failed during start java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]] at java.util.concurrent.Future

java ee-spring mvc 搭建问题求助 tomcat启动时报错

问题描述 spring mvc 搭建问题求助 tomcat启动时报错 严重: StandardWrapper.Throwableorg.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [/Users/loujun/Documents/workspace/.metadata/.plugins/org.eclipse.wst.serve

Jboss Error starting static Resources

问题描述 10:27:48,762 INFO [Server] Starting JBoss (MX MicroKernel)...10:27:48,762 INFO [Server] Release ID: JBoss [Zion] 4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231054)10:27:48,767 INFO [Server] Home Dir: F:jboss-4.0.3SP1jboss-4.0.3SP110:27:4

mysql启动时报错:Starting MySQL... ERROR! The server quit without updating PID file (/opt/mysql/data/mysql.pid) 的解决方法

出现问题的可能性 1.可能是/opt/mysql/data/数据目录mysql用户没有权限(修改数据目录的权限)    解决方法 :给予权限,执行  "chown -R mysql.mysql /opt/mysql/data"  然后重新启动mysqld   2.可能进程里已经存在mysql进程    解决方法:用命令"ps -ef|grep mysqld"查看是否有mysqld进程,如果有使用"kill -9  进程号"杀死,然后重新启动mys

tomcat启动时报错-急求怎么解决!!!!!!!!

问题描述 急求怎么解决!!!!!!!! org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.Class

项目集成hibernate后,启动时报错java.lang.NoSuchMethodError

在项目集成hibernate后,启动时报错 org.springframework.beans.factory.BeanCreationException:Error creating bean with name 'applicationInitializer' defined in file[D:\地址.class]: Invocation ofinit method failed; nested exception is java.lang.NoSuchMethodError:org.ap

微信开发,将微信官网源码(java版)导入,用tomcat发布时报错,求解答?

问题描述 微信开发,将微信官网源码(java版)导入,用tomcat发布时报错,求解答? 2016-3-17 14:19:13 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.li

项目启动时报错Element type "property" must be followed by either attri

项目启动时报错Element type "property" must be followed by either attribute specifications, ">" or "/>" 项目启动时,控制台报错,信息如下(有删减): Error creating bean with name 'supplierInfoDAO' defined in class path resource [conf/applicationCont

ssh事务-SSH配置事务tomcat启动报错问题

问题描述 SSH配置事务tomcat启动报错问题 tomcat启动报错: 严重: Exception sending context initialized event to listener instance of class org.apache.struts.plugin.PluginContextLoaderListener org.springframework.beans.factory.BeanCreationException: Error creating bean with