File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
spring-context/src/main/java/org/springframework/cache/interceptor Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -184,7 +184,8 @@ public void afterSingletonsInstantiated() {
184184 }
185185 catch (NoUniqueBeanDefinitionException ex ) {
186186 throw new IllegalStateException ("No CacheResolver specified, and no unique bean of type " +
187- "CacheManager found. Mark one as primary or declare a specific CacheManager to use." );
187+ "CacheManager found. Mark one as primary (or give it the name 'cacheManager') or " +
188+ "declare a specific CacheManager to use, that serves as the default one." );
188189 }
189190 catch (NoSuchBeanDefinitionException ex ) {
190191 throw new IllegalStateException ("No CacheResolver specified, and no bean of type CacheManager found. " +
You can’t perform that action at this time.
0 commit comments