tomcat9启动中提示 org.apache.catalina.webresources.Cache.getResource Unable to add the resource

来源:互联网 发布:白头发怎么办 知乎 编辑:程序博客网 时间:2024/05/16 07:00
tomcat9启动过程中提示:


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


解决办法:


在 /conf/context.xml 的 </Context>前添加以下内容:


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


更多信息: http://tomcat.apache.org/tomcat-8.0-doc/config/resources.html
1 0