1
我試圖遷移從Tomcat 8.0.37到8.5.6的Tomcat 8.5 - 緩存警告洪水
在這個新版本中,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