org.redisson.client.RedisAuthRequiredException: NOAUTH Authentication required… channel:
出現此問題的原因為沒有redis權限。解決方案在setAddress()后面加上setPassword()方法。
config.useSingleServer().setAddress("redis://localhost:6379").setPassword("dddddd");
Caused by: java.lang.ClassNotFoundException: com.management.alan.utils.test$$Lambda$2
Redisson中SortedSet不支持Lambda表達式的構造的Comparator。