严重: Error starting static Resources
java.lang.IllegalArgumentException: Document base E:\apache-tomcat-6.0.41\webapps\manager does not exist or is not a readable directory

 

此错误是由于不小心将tomcat文件夹中webapps文件夹下的manager文件夹给删除了 

之前习惯性的把webapps文件夹下的所有东西都删除掉,这是会导致tomcat运行报错的,需保留如下截图的文件才可:docs、examples、host-manager、manager、NETCTOSS、NETCTOSS01、ROOT.

如图:

在MyEclipse中运行tomcat报错 严重: Error starting static Resources

 

总结:因此清理tomcat缓存是不需要删除webapps下的文件夹的,只需要清理work下的文件夹,缓存都保存在work文件夹中,全部删除是没问题的,因为其中的Catalina、localhost文件夹都是会在重新启动tomcat的时候自动创建的。

相关文章:

  • 2022-01-01
  • 2021-10-10
  • 2021-12-11
  • 2021-06-27
  • 2021-05-14
  • 2022-12-23
  • 2021-07-05
  • 2022-12-23
猜你喜欢
  • 2021-07-11
  • 2022-01-01
  • 2021-05-28
  • 2021-06-16
  • 2022-01-11
  • 2021-07-28
相关资源
相似解决方案