Exception in thread "main" redis.clients.jedis.exceptions.JedisDataException: NOAUTH Authentication required.

1.这个原因是因为redis配置了密码,而在连接的时候没有设置密码

jedis.auth("123456");//加入这一段代码
原文地址:https://www.cnblogs.com/Hello-TomCat/p/13047701.html