234cfds1 发表于 2017-12-24 21:00:50

org.springframework.beans.MethodInvocationException: Property 'cacheManager' thr

1 <?xml version="1.0" encoding="UTF-8"?>  
2 <ehcache updateCheck="false"name="shirocache">
  
3   <diskStore path="java.io.tmpdir"/>
  
4   <defaultCache   
  
5         maxElementsInMemory="10000"   
  
6         maxElementsOnDisk="0"   
  
7         eternal="true"   
  
8         overflowToDisk="true"   
  
9         diskPersistent="false"   
  
10         timeToIdleSeconds="0"   
  
11         timeToLiveSeconds="0"   
  
12         diskSpoolBufferSizeMB="50"   
  
13         diskExpiryThreadIntervalSeconds="120"   
  
14         memoryStoreEvictionPolicy="LFU"   
  
15   />      
  
16   <!-- 登录记录缓存 锁定10分钟 -->
  
17   <cache name="passwordRetryCache"
  
18            maxEntriesLocalHeap="2000"
  
19            eternal="false"
  
20            timeToIdleSeconds="3600"
  
21            timeToLiveSeconds="0"
  
22            overflowToDisk="false"
  
23            statistics="true">
  
24   </cache>
  
25   <cache name="authorizationCache"
  
26            maxEntriesLocalHeap="2000"
  
27            eternal="false"
  
28            timeToIdleSeconds="3600"
  
29            timeToLiveSeconds="0"
  
30            overflowToDisk="false"
  
31            statistics="true">
  
32   </cache>
  
33   <cache name="authenticationCache"
  
34            maxEntriesLocalHeap="2000"
  
35            eternal="false"
  
36            timeToIdleSeconds="3600"
  
37            timeToLiveSeconds="0"
  
38            overflowToDisk="false"
  
39            statistics="true">
  
40   </cache>
  
41   <cache name="shiro-activeSessionCache"
  
42            maxEntriesLocalHeap="2000"
  
43            eternal="false"
  
44            timeToIdleSeconds="3600"
  
45            timeToLiveSeconds="0"
  
46            overflowToDisk="false"
  
47            statistics="true">
  
48   </cache>
  
49   <cache name="shiro_cache"
  
50            maxElementsInMemory="2000"
  
51            maxEntriesLocalHeap="2000"
  
52            eternal="false"
  
53            timeToIdleSeconds="0"
  
54            timeToLiveSeconds="0"
  
55            maxElementsOnDisk="0"
  
56            overflowToDisk="true"
  
57            memoryStoreEvictionPolicy="FIFO"
  
58            statistics="true">
  
59   </cache>
  
60 </ehcache>
页: [1]
查看完整版本: org.springframework.beans.MethodInvocationException: Property 'cacheManager' thr