diff --git a/geode-spring-boot-starter/src/main/java/org/springframework/boot/data/geode/autoconfigure/GeodeCachingProviderAutoConfiguration.java b/geode-spring-boot-starter/src/main/java/org/springframework/boot/data/geode/autoconfigure/GeodeCachingProviderAutoConfiguration.java index 5b0857ff..96bc0634 100644 --- a/geode-spring-boot-starter/src/main/java/org/springframework/boot/data/geode/autoconfigure/GeodeCachingProviderAutoConfiguration.java +++ b/geode-spring-boot-starter/src/main/java/org/springframework/boot/data/geode/autoconfigure/GeodeCachingProviderAutoConfiguration.java @@ -62,8 +62,9 @@ class GeodeCachingProviderAutoConfiguration { @Autowired private GemfireCacheManager cacheManager; - GeodeCachingProviderAutoConfiguration(CacheProperties cacheProperties, - CacheManagerCustomizers cacheManagerCustomizers) { + GeodeCachingProviderAutoConfiguration( + @Autowired(required = false) CacheProperties cacheProperties, + @Autowired(required = false) CacheManagerCustomizers cacheManagerCustomizers) { this.cacheProperties = cacheProperties; this.cacheManagerCustomizers = cacheManagerCustomizers;