错误:
java.lang.IllegalArgumentException: Document base C:\test\apache-tomcat-6.0.35\apache-tomcat-6.0.35\webapps\springmvc does not exist or is not a readable directory…
解决方法:1.找到D:\apache-tomcat\conf\server.xml,把Context标签删除。
本文介绍了一种常见的Tomcat启动时遇到的错误:DocumentBase指定的路径不存在或不可读。通过调整server.xml文件中的Context标签配置,可以有效解决此问题。
错误:
java.lang.IllegalArgumentException: Document base C:\test\apache-tomcat-6.0.35\apache-tomcat-6.0.35\webapps\springmvc does not exist or is not a readable directory…
解决方法:1.找到D:\apache-tomcat\conf\server.xml,把Context标签删除。
780
368
262
8883
412