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

1、问题

org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [xxx] to the cache for web application [/xxx] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache

2、解决方式:

在tomcat 下的conf 文件夹中content.xml 修改里面的内容:大小默认是10240,单位是KB

复制代码
<Resources cachingAllowed="true" cacheMaxSize="512000" />
相关推荐
海鸥两三15 小时前
uniapp 小程序引入 uview plus 框架,获得精美的UI框架
前端·vue.js·ui·小程序·uni-app
lightgis16 小时前
16openlayers加载COG(云优化Geotiff)
前端·javascript·html·html5
小飞大王66616 小时前
TypeScript核心类型系统完全指南
前端·javascript·typescript
你的人类朋友18 小时前
✍️记录自己的git分支管理实践
前端·git·后端
合作小小程序员小小店18 小时前
web网页开发,在线考勤管理系统,基于Idea,html,css,vue,java,springboot,mysql
java·前端·vue.js·后端·intellij-idea·springboot
防火墙在线18 小时前
前后端通信加解密(Web Crypto API )
前端·vue.js·网络协议·node.js·express
Jacky-00818 小时前
Node + vite + React 创建项目
前端·react.js·前端框架
CoderYanger19 小时前
前端基础——CSS练习项目:百度热榜实现
开发语言·前端·css·百度·html·1024程序员节
i_am_a_div_日积月累_19 小时前
10个css更新
前端·css
倚栏听风雨20 小时前
npm命令详解
前端