You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We usually bundle a few articles in the same module. Since this specific configuration isn't mentioned in this article, it probably has no relation to the cache configuration.
@ulisseslima could you reopen the issue please. actually it has, as you are creating a bean interceptor that is automatically created by spring. Even in your tutorial, if you clone, change this property to false and run TwoLevelCacheApplication (not tests, looks like something wrong with them), it will fail:
The bean 'cacheInterceptor', defined in class path resource [com/baeldung/caching/twolevelcache/CacheConfig.class], could not be registered. A bean with that name has already been defined in class path resource [org/springframework/cache/annotation/ProxyCachingConfiguration.class] and overriding is disabled.
Action:
Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true
hello, just a quick question
In the task spring-boot-caching-2 twolevelcache the property spring.main.allow-bean-definition-overriding=true is used.
Is there any possibility to customise without that annotation?
The text was updated successfully, but these errors were encountered: