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"
/>
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章