警告内容:
12-Apr-2018 00:00:00.582 WARNING [ContainerBackgroundProcessor[StandardEngine[Catalina]]]
org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-I
NF/classes/com/item/tableInfo/TPackageInterfaceLogs.hbm.xml] to the cache for web applica
tion [] because there was insufficient free space available after evicting expired cache
entries - consider increasing the maximum size of the cache
解决方法:
修改tomcat/conf文件夹下的context.xml文件,在中加入
<Resources cachingAllowed="true" cacheMaxSize="100000" />
即可解决。
本文介绍了解决Tomcat应用程序中出现的缓存溢出警告的方法。通过调整配置文件context.xml中的缓存参数,可以有效避免因缓存空间不足而导致的问题。
5061

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



