consider increasing the maximum size of the cache

这是因为tomcat8以上对resource采取了cache,而默认的大小是10M.

如果你有可能超过了此限制,那么tomcat是启动不起来了。

解决的办法很简单,就是在context.xml中调大缓存即可,具体如下:

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

加在</context>前就行。

参考链接1

参考链接2

参考链接3:官方解释

猜你喜欢

转载自wandejun1012.iteye.com/blog/2315391
今日推荐