无法将位于[xxx]的资源添加到Web应用程序[]的缓存中,因为在清除过期缓存条目后可用空间仍不足 - 请考虑增加缓存的最大空间。

无法将位于[xxx]的资源添加到Web应用程序[]的缓存中,因为在清除过期缓存条目后可用空间仍不足 - 请考虑增加缓存的最大空间。

image.png

解决办法
在tomcat根目录下找到conf下的context.xml文件,增加下面内容

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

默认大小是:1024 单位kb

image.png

猜你喜欢

转载自blog.csdn.net/qq_36538368/article/details/125300350