Redisson出现问题总结

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。

你可能感兴趣的:(java,redis)