java.lang.IllegalArgumentException:Document base ……does not exist or is not a readable directory错误的解决方案
2015-07-21 14:21
896 查看
关于Tomcat的 Document base ……does not exist or is not a readable directory错误
[b]java.lang.IllegalArgumentException: Document base E:\program\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\Echarts does not exist or is not a readable directory[/b]
[b]原因是 tmp0\conf\server.xml 中<Context>节点配置了很多已经移除的项目; [/b]
[b]解决方案:[/b]
[b]删除无用的 tmp0\conf\server.xml 中的 <Context>节点;
删除 tmp0\work\Catalina\localhost 下的所有文件夹,重新部署;[/b]
[b]记录一下,便于再次遇到这种问题时可以参考。[/b]
[b]java.lang.IllegalArgumentException: Document base E:\program\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\Echarts does not exist or is not a readable directory[/b]
[b]原因是 tmp0\conf\server.xml 中<Context>节点配置了很多已经移除的项目; [/b]
[b]解决方案:[/b]
[b]删除无用的 tmp0\conf\server.xml 中的 <Context>节点;
删除 tmp0\work\Catalina\localhost 下的所有文件夹,重新部署;[/b]
[b]记录一下,便于再次遇到这种问题时可以参考。[/b]
相关文章推荐
- Spring MVC 4.1.4 RESTFUL风格返回JSON数据406错误处理 .
- JAVA多线程读写文件范例
- 基于CXF Java 搭建Web Service (Restful Web Service与基于SOAP的Web Service混合方案)
- javaweb通过SMS短信通API实现短信发送功能
- Java的内存机制
- java导出Excel
- 解决 eclipse 新建 maven 后无法显示 src/main/java 和 src/main/test
- 决策树算法---java
- 【j2ee spring】46、巴巴运动网——购物车
- LeetCode java实现Add Two Numbers
- Java Timer的使用(timer.schedule定时执行)
- 对JAVA的一些个人总结——面向对象
- java错误篇一
- 朴素贝叶斯分类算法-----java
- springmvc笔记
- Spring Resource
- Spring 事务管理原理探究
- spring配置和dubbo
- Java基础总结(二)
- java对象转为json数据在前台展示