ehcache 配置 配置ehcache.xml,不配置将使用默认,建议配置! <ehcache updateCheck="false" dynamicConfig="false"> <diskStore path="D:/test/ehcache"/> <defaultCache maxElementsInMemory="1000" eternal="false" overflowToDisk="true" timeToIdleSeconds="120"