警告:consider increasing the maximum size of the cache

关于javaee项目报警:consider increasing the maximum size of the cache


 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文件——》在resource标签中加上


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

解决

对于此类问题,在项目中往往会报出很多警告。但只要是考虑增大告诉缓存的,都可以用这样的方法

你可能感兴趣的:(技术,java开发)