SpringBoot 2.x JedisConnectionFactory(redis.clients.jedis.JedisShardInfo)过时修正
SpringBoot2.xRedis过时配置的修改方式在SpringBoox1.x中,使用Jedis来配置Redis时可以通过如下方式:@Configuration@EnableCachingpublicclassRedisConfigextendsCachingConfigurerSupport{@Value("${spring.redis.host}")privateStringredisHo