org.apache.catalina.webresources.Cache.getResource Unable to add the resource

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" />

更多信息: http://tomcat.apache.org/tomcat-8.0-doc/config/resources.html

原文地址:https://www.cnblogs.com/zhi-leaf/p/6112328.html