我一直在与Maven一起进行Spring MVC项目。当我在“ webapp”文件夹下添加WEB-INF文件夹时,控制台会显示警告:

WARNING: Unable to add the resource at [/WEB-INF/classes/hibernate.properties] to the cache for web application [/PreFix-Solution] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


其他警告也有不同的路径,例如[/WEB-INF/classes/com/solutionsPrefix/entity/][/WEB-INF/classes/META-INF/services/org.hibernate.boot.spi.SessionFactoryBuilderFactory]。尽管有所有这些警告,但我的应用程序运行正常。我已经从网络浏览器中清除了缓存。不过,我的应用程序运行正常。谁能解释这些警告的全部含义?

我的项目目录如下所示:

java - 此警告是什么意思?-LMLPHP

提前致谢。

最佳答案

要增加缓存大小,请转到config / context.xml并进行修改

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

10-04 22:44
查看更多