1、
警告 [**********] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [*********************]
to the cache for web application [************] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of
the cache
处理:
tomcat8以上对resource采取了cache,而默认的大小是10M. 可能超过了此限制。
解决的办法是在context.xml中调大缓存即可,加在</context>
前就行。具体如下:
<Resources cachingAllowed="true" cacheMaxSize="1000000" />