java.lang.IllegalArgumentException: Document base D:\apache-tomcat-7.0.69-windows-x64\项目不存在或者不是一个可读的
2017-03-22 10:12
387 查看
1、问题:java.lang.IllegalArgumentException: Document base D:\apache-tomcat-7.0.69-windows-x64\apache-tomcat-7.0.69\webapps\wportal does not exist or is not a readable directory
2、问题出现的原因:第一次在Myeclipse中发布项目的时候,没有去除项目名,即没有右键单击项目名--->properties-->在弹出的窗口中输入web,修改ContentRoot的路径为成/ ,在我把ContentRoot的路径修改为/后,在Myeclispe中移除发布的项目,删除tomcat文件夹下发布的项目,然后重新在Myeclipse发布,运行项目时,就出现了这个错误。
3、解决方法:删除tomcat下conf文件夹-->Catalina文件夹--->localhost文件下的项目名.xml,然后重启tomcat即可。
2、问题出现的原因:第一次在Myeclipse中发布项目的时候,没有去除项目名,即没有右键单击项目名--->properties-->在弹出的窗口中输入web,修改ContentRoot的路径为成/ ,在我把ContentRoot的路径修改为/后,在Myeclispe中移除发布的项目,删除tomcat文件夹下发布的项目,然后重新在Myeclipse发布,运行项目时,就出现了这个错误。
3、解决方法:删除tomcat下conf文件夹-->Catalina文件夹--->localhost文件下的项目名.xml,然后重启tomcat即可。
相关文章推荐
- java.lang.IllegalArgumentException: Document base D:\apache-tomcat-6.0.45\webapps\项目不存在错误
- 错误:java.lang.Illegal Argument Exception: Document base F:/apache-tomcat-7.0.40/webapps/ web3 does no
- Tomcat启动时出现java.lang.IllegalArgumentException: Document base D:\apache-tomcat-6.0.20\webapps\XXX doe
- java.lang.IllegalArgumentException: Document base C:\Program Files\Apache Software Foundation\Tomcat
- Tomcat启动时出现java.lang.IllegalArgumentException: Document base D:\apache-tomcat-6.0.20\webapps\XXX doe
- java.lang.IllegalArgumentException: Document base D:\apache-tomcat-6.0.20\webapps\XXX错误
- tomcat启动时报:java.lang.IllegalArgumentException: Document base D:\apache-tomcat-6.0.20\webapps
- 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 D:\apache-tomcat-6.0.37\webapps\host-manager does
- java.lang.IllegalArgumentException: Document base D:\apache-tomcat-6.0.37\webapps\host-manager does
- Tomcat启动时出现java.lang.IllegalArgumentException: Document base D:\apache-tomcat-6.0.20\webapps\XXX doe
- java.lang.IllegalArgumentException: Document base D:/appservers/apache-tomcat-6.0.20/webapps/megaey
- java.lang.IllegalArgumentException: Document base D:\apache-tomcat-6.0.20\webapps\XXX错误
- Tomcat启动时出现java.lang.IllegalArgumentException: Document base D:\apache-tomcat-6.0.45\webapps\XXX doe
- java.lang.IllegalArgumentException: Document base D:\apache-tomcat-6.0.20\webapps\XXX doe
- java.lang.IllegalArgumentException: Document base E:\apache-tomcat-7.0.53\webapps\clife-api-web-comm
- java.lang.IllegalArgumentException: Document base D:\apache-tomcat-7.0.61\webapps\xxxx does no
- java.lang.IllegalArgumentException: Document base D:\apache-tomcat-6.0.35\webapps\XX does not exist
- java.lang.IllegalArgumentException: Document base D:\apache-tomcat-6.0.18\异常处理
- java.lang.IllegalArgumentException: Document base D:\apache-tomcat-pointfor\webapps\manager does not