启动Tomcat 时报异常host-manager does not exist or is not a readable directory
来源:互联网 发布:网络新媒介有那些 编辑:程序博客网 时间:2024/05/16 09:23
前几天重新安装了Tomcat6,安装完Tomcat6后在wepapps下面会有一些tomcat自带的项目(root、manager、host- manager等几个),这几天项目没什么用我就删掉了,后来在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中的相关配置删掉。
严重: 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中的相关配置删掉。
1 0
- 启动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异常
- 启动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
- Tomcat 启动报错:host-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
- 适用于OpenGL离屏渲染上下文的初始化代码
- Java正则表达式替换移除空行和多余的空格
- 浅析android适配器adapter中的那些坑
- 我知道你想告诉我……
- NOIP2010提高组复赛试题
- 启动Tomcat 时报异常host-manager does not exist or is not a readable directory
- sqlite3使用入门
- Frog青蛙的约会【浙江省选2002】(数论)
- 诗说
- 查看数据库RAC状态并打开RAC
- VI E138: Can't write viminfo file /*/.viminfo! 的解决办法
- IP 广播与多播浅析
- 导航制作
- 字符串匹配的KMP算法