启动Tomcat6.x时manager does not exist or is not a readable directory
2014-05-22 17:39
309 查看
在MyEclipse中配置好Tomcat,新建web项目,在启动Tomcat时会出现
严重: Error starting static Resources
java.lang.IllegalArgumentException: Document base D:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\host-manager does not exist or is not a readable directory
和
严重: Error starting static Resources
java.lang.IllegalArgumentException: Document base D:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\manager does not exist or is not a readable directory
错误;
这是因为在conf\Catalina\localhost里面有两个xml文件host-manager.xml、manager.xml,删掉他们在启动Tomcat就没问题了。
或Catalina里面其它的文件夹中也可能存在host-manager.xml,manager.xml这样的文件, 把它们都删除了就可以了.
========================================================================
再就是我们自己建立的项目删掉以后也会出现这种问题
我们就把conf\Catalina\localhost相应配置文件删掉、把conf下的server.xml及context.xml中的相关配置删掉
======================================================================
有时我们自己建的项目也会出现这个问题 。就是当我们每建一个虚拟主机时,在 ../apache-tomcat-6.0.29\conf\Catalina/目录下会相应的域名文件夹。如下图
2,再打开各个这样的文件夹是
host-manager.xml
manager.xml
3,把上面两个文件都删除就可经了。。
相关文章推荐
- 启动Tomcat6.x时manager does not exist or is not a readable directory
- 启动Tomcat6.x时,manager does not exist or is not a readable directory-解决
- 启动Tomcat6.x时manager does not exist or is not a readable directory
- 启动Tomcat6.x时manager does not exist or is not a readable directory
- 启动Tomcat6.x时manager does not exist or is not a readable directory
- 启动Tomcat6.x时manager does not exist or is not a readable directory
- [转]启动Tomcat6.x时manager does not exist or is not a readable directory
- 启动Tomcat6.x时manager does not exist or is not a readable directory
- 启动Tomcat6.x时manager does not exist or is not a readable directory
- 启动Tomcat6.x时manager does not exist or is not a readable directory
- 启动Tomcat6.x时,manager does not exist or is not a readable directory-解决
- 启动Tomcat6.x时manager does not exist or is not a readable directory
- 启动tomcat报host-manager does not exist or is not a readable directory异常
- 启动Tomcat报异常host-manager does not exist or is not a readable directory
- 启动Tomcat6.x时manager does not exist or is not a readable 错误
- 启动Tomcat报异常host-manager does not exist or is not a readable directory
- Tomcat 启动报错:host-manager does not exist or is not a readable directory
- Tomcat 启动报错:host-manager does not exist or is not a readable directory
- 启动Tomcat报异常host-manager does not exist or is not a readable directory
- 启动Tomcat 时报异常host-manager does not exist or is not a readable directory