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" />
本文介绍了解决Tomcat启动过程中出现缓存资源不足的问题。通过调整配置文件context.xml中的资源缓存最大值,可以有效避免因缓存空间不足导致的服务启动失败。
8236

被折叠的 条评论
为什么被折叠?



