【发布时间】:2017-03-10 05:05:50
【问题描述】:
我正在尝试从 Tomcat 8.0.37 迁移到 8.5.6
在这个新版本中,err 控制台不断充斥着这些警告:
oct. 27, 2016 3:16:40 PM org.apache.catalina.webresources.Cache getResource
WARNING: Unable to add the resource at [/WEB-INF/lib/something.jar]
to the cache because there was insufficient free space available after evicting expired cache entries -
consider increasing the maximum size of the cache
我想将 servlet(web.xml 或 Spring)配置为忽略某些文件类型的缓存 (*.jar)
我已经阅读了有关配置context.xml 文件的信息,但感觉就像是解决实际问题的方法。
如何告诉 Tomcat 将所有内容记录到 slf4j?
我将此添加到清单中,但它不起作用:
Dependencies: org.slf4j
【问题讨论】:
标签: java spring tomcat configuration