How to create a Jcache in Spring Java config?
问题 I have a problem setting up a jcache with spring cache abstraction. @Configuration @EnableCaching public class CacheConfig { @Bean(name = "caffeineCachingProvider") public CachingProvider caffeineCachingProvider() { return new CaffeineCachingProvider(); } @Bean(name = "caffeineCacheManager") public JCacheCacheManager getSpringCacheManager() { CacheManager cacheManager = caffeineCachingProvider().getCacheManager(); CaffeineConfiguration<String, List<Product>> caffeineConfiguration = new