![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring boot整合redis
巨人IIT
代码666
展开
-
Jedis常见异常: redis.clients.jedis.exceptions.JedisConnectionException: Unexpected end of stream.
org.springframework.data.redis.RedisConnectionFailureException: Unexpected end of stream.; nested exception is redis.clients.jedis.exceptions.JedisConnectionException: Unexpected end of stream. at org.springframework.data.redis.connection.jedis.Jed原创 2020-09-15 10:10:15 · 3792 阅读 · 2 评论 -
redis使用时一段时间后会报出RedisConnectionFailureException: java.net.SocketException: Broken pipe;异常
异常信息org.springframework.data.redis.RedisConnectionFailureException: java.net.SocketException: Broken pipe; nested exception is redis.clients.jedis.exceptions.JedisConnectionException: java.net.SocketException: Broken pipe at org.springframework.da原创 2020-09-03 20:04:07 · 1633 阅读 · 0 评论 -
spring boot 整合 redis
第一步:添加依赖<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId></dependency>第二步:增加 redis 配置spring.redis.host=8888spring.redis.port=8888spring.redis.timeou原创 2020-09-01 15:38:56 · 101 阅读 · 0 评论