startup.bat启动tomcat时异常Error starting static Resources

由eclipse在tomcat部署过工程后,删除eclipse部署的项目,通过startup.bat启动tomcat时报错:
java.lang.IllegalArgumentException: Document baseD:\apache-tomcat-7.0.70\wtpwebapps\....... does not exist or is nota readable directory
解决方法:
1.删除conf\Catalina\localhost下所有内容
2.删除work\Catalina\localhost下与旧项目有关的内容
3.server.xml中,标签中删除与旧项目有关的内容

猜你喜欢

转载自blog.csdn.net/gengjianchun/article/details/78637458