springboot【redis】打成war包后部署,访问报could not get a resource from the pool

 Cannot get Jedis connection; nested exception is redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
 

开发环境正常,打成war包部署后,redis无法使用,通过redis客户端工具RedisDesktopManager进行链接,链接不上

检查了redis的相关jar,都已引用。

经过漫长过程的测试,发现,redis设置密码后才能启动。汗。

猜你喜欢

转载自blog.csdn.net/qq_31949853/article/details/84704876