首页 > 系统服务 > 详细

Eclipse里Tomcat报错:Document base ……does not exist or is not a readable directory

时间:2017-07-10 11:48:03      阅读:542      评论:0      收藏:0      [点我收藏+]

如标题所述 在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

原文:http://www.cnblogs.com/LeonLF/p/7144857.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!