您的位置:首页 > 编程语言 > Java开发

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]
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: