Eclipse里Tomcat报错:Document base ……does not exist or is not a readable directory
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Eclipse里Tomcat报错:Document base ……does not exist or is not a readable directory相关的知识,希望对你有一定的参考价值。
如标题所述 在eclipse中导入工程运行时提示 目录不存在。
解决办法:
检查eclipse 中tomcat的配置发布路径和 conf/server.xml 中的发布路径是否一致
和
是否一致,如果不一致 则会在运行时 报
java.lang.IllegalArgumentException: Document base D:\\Code\\MyJavaCode\\.metadata\\.plugins\\org.eclipse.wst.server.core\\tmp0\\wtpwebapps\\xxx does not exist or is not a readable directory
以上是关于Eclipse里Tomcat报错:Document base ……does not exist or is not a readable directory的主要内容,如果未能解决你的问题,请参考以下文章
Eclipse Tomcat Project报错:HTTP Status 404错误
eclipse Tomcat8.0端口占用报错和发布路径修改