Tomcat 启动项目无法启动
报错: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
1.进Tomcat的conf目录 修改context.xml
cd /tomcat8080/conf
vim context.xml
2 .编辑配置文件添加 如图,添加后保存并退出
<Resources cachingAllowed= "true" cacheMaxSize= "102400"/>
3.重启服务,这时候服务启动正常了
更多推荐
tomcat警告:consider increasing the maximum size of the cache. After eviction appro
发布评论