NutzCN Logo
精华 tomcat报一大堆cache错怎么去掉啊
发布于 2977天前 作者 大鲨鱼 5178 次浏览 复制 上一个帖子 下一个帖子
标签:
21-Sep-2016 20:02:23.665 WARNING [localhost-startStop-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/org/springframework/beans/factory/xml/spring-beans-3.0.xsd] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
21-Sep-2016 20:02:23.735 WARNING [localhost-startStop-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/org/springframework/beans/factory/xml/spring-beans-3.0.xsd] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
21-Sep-2016 20:02:23.799 WARNING [localhost-startStop-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/org/springframework/beans/factory/xml/spring-beans-4.0.xsd] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache

3 回复

tomcat 8.5以上才有的提示,这两周有很多人问过哦

来自炫酷的 NutzCN

/conf/context.xml
添加:

<Resources cachingAllowed="true" cacheMaxSize="100000" />
添加回复
请先登陆
回到顶部