nested exception is java.lang.IllegalStateException: refreshAfterWrite requires a LoadingCache异常解决
问题描述:
SpringBoot项目使用Caffeine缓存,出现如下异常信息:
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cache' defined in class path resource [com/copyfuture