springBoot中@Cacheable不生效的问题
原因1:未注入进来(@Cacheable所在的接口实现类未注入到spring容器)
原因2:包导错了(要导入import org.springframework.cache.annotation.Cacheable;而不是其它的包)
原因3:待补充
原因4:待补充
原因1:未注入进来(@Cacheable所在的接口实现类未注入到spring容器)
原因2:包导错了(要导入import org.springframework.cache.annotation.Cacheable;而不是其它的包)
原因3:待补充
原因4:待补充