IntelliJ 中使用Tomcat警告 Messages_zh.properties] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache

找到使用的Tomcat的目录中在/conf/context.xml中添加

<?xml version='1.0' encoding='utf-8'?>
<Context>

  <Resources cachingAllowed="true" cacheMaxSize="100000" />
    <WatchedResource>WEB-INF/web.xml</WatchedResource>
    <WatchedResource>${catalina.base}/conf/web.xml</WatchedResource>
</Context>

 

posted on 2016-12-06 17:34  whilliy  阅读(282)  评论(0)    收藏  举报