jfinal 配置 ehcache.xml 启动时报错

jfinal 配置 ehcache.xml 启动时报错,有可能是没有配置 defaultCache,不配置这个会报各种各样不同的错误,mark一下

 

<defaultCache
        name ="defaultCache"
        maxElementsInMemory="10000"
        eternal="false"
        timeToIdleSeconds="120"
        timeToLiveSeconds="120"
        overflowToDisk="true"
        maxElementsOnDisk="10000000"
        diskPersistent="false"
        diskExpiryThreadIntervalSeconds="120"
        memoryStoreEvictionPolicy="LRU"
/>
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章