redis 7.07升级导致spring boot连接不上

Caused by: org.springframework.data.redis.connection.PoolException: Could not get a resource from the pool; nested exception is io.lettuce.core.RedisConnectionException: Unable to connect

升级spring boot、升级jedis

<parent>
	<groupId>org.springframework.boot</groupId>
	<artifactId>spring-boot-starter-parent</artifactId>  
	<version>2.5.15</version>
</parent>

<dependency>
	<groupId>redis.clients</groupId>
	<artifactId>jedis</artifactId>
	<version>5.2.0-alpha2</version>
</dependency>

posted @ 2024-01-26 17:14  少年小白  阅读(12)  评论(0编辑  收藏  举报