Tomcat的异常 之 java.lang.IllegalArgumentException: Document base *** does not exist or is not a readable
来源:互联网 发布:亚瑟士跑鞋 知乎 编辑:程序博客网 时间:2024/05/21 12:41
Tomcat的异常 之 java.lang.IllegalArgumentException: Document base
有些刚开始使用的Tomcat的朋友会出现的问题,明明已经将某个web应用从tomcat下的webapps下移除了,为什么还会抛这样的异常呢?
java.lang.IllegalArgumentException: Document base *** does not exist or is not a readable
directory
at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:141)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:3957)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4126)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
********
.................
其实这个问题很简单,tomcat的一个应用不只是那个文件夹而已...
详细操作应该是这样的:
确定3点:
1.该项目的War文件从***/apache-tomcat-6.0.16/webapps 移出;
2.该项目的某些配置从 ***apache-tomcat-6.0.16/work/Catalina/localhost 移除;
3.该项目的配置文件,目录: ***/apache-tomcat-6.0.16/conf/Catalina/localhost移除。
本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/swang0619/archive/2009/07/29/4390820.aspx
- Tomcat的异常 之 java.lang.IllegalArgumentException: Document base *** does not exist or is not a readable
- Tomcat的异常 之 java.lang.IllegalArgumentException: Document base *** does not exist or is not a readable
- Tomcat的异常 之 java.lang.IllegalArgumentException:Document base *** does not exist or is not a readable
- tomcat的java.lang.IllegalArgumentException:Document base *** does not exist or is not a readable
- Tomcat的异常 之 java.lang.IllegalArgumentException: Document base *** does not exist or is not a readabl
- Tomcat的异常 之 java.lang.IllegalArgumentException: Document base xxx does not exist or is not a readab
- java.lang.IllegalArgumentException: Document base *** does not exist or is not a readable
- java.lang.IllegalArgumentException: Document base XXXXX does not exist or is not a readable directory
- java.lang.IllegalArgumentException: Document base *** does not exist or is not a readable
- java.lang.IllegalArgumentException: Document base *** does not exist or is not a readable
- java.lang.IllegalArgumentException: Document base (文件夹路) does not exist or is not a readable directo
- java.lang.IllegalArgumentException: Document base *** does not exist or is not a readable
- java.lang.IllegalArgumentException: Document base does not exist or is not a readable directory错误解决
- tomcat缓存问题java.lang.IllegalArgumentException: Document base *** does not exist or is nota readable
- Eclipse tomcat异常 Document base does not exist or is not a readable directory
- tomcat java.lang.IllegalArgumentException probe does not exist or is not a readable directory
- Tomcat的 Document base ……does not exist or is not a readable directory错误
- Tomcat的 Document base ……does not exist or is not a readable directory错误
- 《两种文化与科学革命》读后感
- 显示记事本的行与列
- Java中的IO流知识总结(转)
- 推荐的英文电影(本人亲自看过真的不错)
- OpenGL系统设计-扩展建模(3)
- Tomcat的异常 之 java.lang.IllegalArgumentException: Document base *** does not exist or is not a readable
- 无心的伤害,永远的罪过
- GIS热点技术及研究方向
- 下雪了……
- 浅析B/S结构与C/S结构及未来趋势
- PHP网站开发方案(开发新人必读)
- 经典语录
- java 线程的设计模式
- linux c问题集锦