Tomcat : consider increasing the maximum size of the cache

tomcat8佈署war包,出現如標題的報錯,這是由於tomcat8以上對resource採起了cache,而默認的大小是10M。緩存 解決的辦法很簡單,就是在context.xml中調大緩存。tomcat 在配置文件<Context>中添加一行,代碼以下:xml <Context>配置 .........配置文件 <Resources cachingAllowed="true" cacheMax
相關文章
相關標籤/搜索