tomcat启动报错“because there was insufficient free space available after evicting expired cache entries”

https://nccv8.jira.yonyou.com/secure/attachment/345821/345821_image-2021-03-29-14-20-39-661.png
  

已邀请:

只要在$CATALINA_BASE/conf/context.xml里增加资源最大可缓存的大小就行了,大小可按自己的需要定义

  1. <Resources
  2. cachingAllowed="true"
  3. cacheMaxSize="100000"
  4. />

  

 添加之后如下

/uploads/answer/20210329/be7f0ccb054bf5e1ce7f7bb389d990b9.png  

https://images2017.cnblogs.com/blog/1076878/201802/1076878-20180209155829373-1226165607.png

重启Tomcat即可

 

要回复问题请先登录注册