tomcat的java.lang.IllegalArgumentException:Document base *** does not exist or is not a readable
2012-12-26 12:50
706 查看
当移植用过的tomcat时,由于以前的工程不存在,可能会报
java.lang.IllegalArgumentException:Document base *** does not exist or is not a readable
这样的错误
修正方法为:
确定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移除。
最后
在tomcat下的config目录下,找到server.xml文件,再里面有个
<Context path=""
docBase="D:\skymovie\skymovie"
debug="0"
reloadable="true"
trusted="false" >
</Context>
节点,把节点删除就ok了
java.lang.IllegalArgumentException:Document base *** does not exist or is not a readable
这样的错误
修正方法为:
确定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移除。
最后
在tomcat下的config目录下,找到server.xml文件,再里面有个
<Context path=""
docBase="D:\skymovie\skymovie"
debug="0"
reloadable="true"
trusted="false" >
</Context>
节点,把节点删除就ok了
相关文章推荐
- Error starting static Resources java.lang.IllegalArgumentException: Document base D:\Program Files\apache-tomcat-xxx\webapps\xxx does not exist or is not a readable directory
- (转)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 F:apps 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 D:\apache-tomcat-6.0.45\webapps\activiti-explorer does not exist or is not a readable directory
- java.lang.IllegalArgumentException: Document base XXXXX does not exist or is not a readable directory
- java.lang.IllegalArgumentException: Document base D:\Tomcat 6.0\webapps\xxx does not exist or is not
- 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
- Tomcat的异常 之 java.lang.IllegalArgumentException: Document base *** does not exist or is not a readabl
- java.lang.IllegalArgumentException: Document base *** does not exist or is not a readable
- java.lang.IllegalArgumentException: Document base F:\personal\projects\annoMVC\web 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 directory错误的解决方案
- java.lang.IllegalArgumentException: Document base (文件夹路) does not exist or is not a readable directo
- java.lang.IllegalArgumentException: Document base D:\myspace\MyProj\WebContent does not exist or is
- tomcat java.lang.IllegalArgumentException probe does not exist or is not a readable directory