CAS overlay Template 增加Redis做缓存的要点
需要增加@EnableConfigurationProperties注释,否则会报错
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type ‘org.springframework.boot.autoconfigure.data.redis.RedisProperties’ available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}