Closed
Description
Stevo Slavić opened SPR-7955 and commented
Using new spring 3.1 @Cacheable
support, and EhCacheCacheManager I get an exception for a valid ehcache configuration - one with only default cache configured:
<?xml version="1.0" encoding="UTF-8"?>
<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ehcache.org/ehcache.xsd">
<defaultCache maxElementsInMemory="100" overflowToDisk="false" eternal="true"/>
</ehcache>
Assertion error is thrown from AbstractCacheManager.afterPropertiesSet method at line 46: "Assert.notEmpty(cacheSet);"
Affects: 3.1 M1
Backported to: 3.1.4
1 votes, 4 watchers