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() {
184
184
}
185
185
catch (NoUniqueBeanDefinitionException ex ) {
186
186
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." );
188
189
}
189
190
catch (NoSuchBeanDefinitionException ex ) {
190
191
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