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

上一篇:网易2018.03.27算法岗,三道编程题100%样例AC题解


下一篇:SQL语句优化原则