具体异常:Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [redis.client.RedisClient]: Factory method 'redisClient' threw exception; nested exception is java.lang.IllegalArgumentException: port out of range:-1
解决方案
1.检查Redisson与spring的版本兼容性问题,一般可以调整两个版本解决
2.setAddress() 时因Redisson的版本不同,3.2版本后需加:“redis//”,而之前的版本需要去掉。