consider increasing the maximum size of the cache
解决办法在tomcat下面的conf/conext.xml中加入如下配置
<!-- 设置最大缓存量 -->默认的是:The maximum size of the static resource cache in kilobytes. If not specified, the default value is 10240
(10 megabytes). This value may be changed while the web application is running (e.g. via JMX). If the cache is using more memory than the new limit the cache will attempt to reduce in size over time to meet the new limit. If necessary, cacheObjectMaxSize will be reduced to ensure that it is no larger than cacheMaxSize/20
.
详情:http://tomcat.apache.org/tomcat-8.0-doc/config/resources.html
tomcat--》conf--》context.xml文件——》在resource标签中加上
<Context>
<WatchedResource>WEB-INF/web.xml</WatchedResource>
<WatchedR