升级到TOMCAT8后提示缓存不足
警告: Unable to add the resource at......... to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
解决办法如下:
编辑tomcat8的$CATALINA_BASE/conf/context.xml 添加以下代码到 </Context>之前
<Resources cachingAllowed="true" cacheMaxSize="100000" />
PS这次的改动有点大呢!多测试一下再放到生产服务器上。