tomcat启动项目报错:consider increasing the maximum size of the cache. After eviction approximately [9,267]

Tomcat 启动项目无法启动
查看启动日志

tail -f catalina.out

发现启动日志中报错 一直卡在这个异常问题
background cache eviction process was unable to free [10] percent of the cache for Context [/test - consider increasing the maximum size of the cache. After eviction approximately [9,267] KB of data remained in the cache
tomcat启动项目报错:consider increasing the maximum size of the cache. After eviction approximately [9,267]

进Tomcat的conf目录 修改context.xml

cd /tomcat/conf
vim context.xml

编辑配置文件添加

tomcat启动项目报错:consider increasing the maximum size of the cache. After eviction approximately [9,267]

重启服务器,这时候服务启动正常

上一篇:Action: Consider the following: If you want an embedded database (H2, HSQL or Derby), please put i


下一篇:Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definiti