Tomcat警告之“资源添加到Web应用程序[]的缓存中,因为在清除过期缓存条目后可用空间仍不足 - 请考虑增加缓存的最大空间”

原因

缓存不够,可以将其缓存调大

解决办法:

在 /conf/context.xml 的 前添加以下内容:

<Resources cachingAllowed="true" cacheMaxSize="100000" />

 

 /conf/context.xml 位置

扩存参数添加的位置

 

posted @ 2021-07-20 17:10  骚哥  阅读(8644)  评论(0编辑  收藏  举报