.cache.interceptor.CacheExpressionRootObject' - maybe not public or not valid?”
问题原因:@Cacheable(value = "usersCache",key = "id")的key没有加#
解决方案:改为@Cacheable(value = "usersCache",key = "#id")
.cache.interceptor.CacheExpressionRootObject' - maybe not public or not valid?”
问题原因:@Cacheable(value = "usersCache",key = "id")的key没有加#
解决方案:改为@Cacheable(value = "usersCache",key = "#id")