Tomcat8 启动中提示 org.apache.catalina.webresources.Cache.getResource Unable to add the resource

Tomcat8 启动过程中提示:


org.apache.catalina.webresources.Cache.getResource Unable to add the resource at xxx to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


解决办法:

在 /conf/context.xml 的 </Context>前添加以下内容:

<Resources cachingAllowed="true" cacheMaxSize="100000" />

原文地址:https://www.cnblogs.com/ShaYeBlog/p/7387701.html