![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Redis
smile2coder
记录学习路上的所见所识
展开
-
java.lang.NoClassDefFoundError: redis/clients/jedis/JedisPoolConfig
springboot版本:2.3.0.RELEASEspring-boot-starter-data-redis连接redis,启动项目后报错pom.xml<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.3.0.RELEASE原创 2020-06-08 11:00:05 · 8326 阅读 · 0 评论 -
SpringBoot-Redis实现分布式锁的两种方式,支持续约
Redis事务实现package com.example.redis.command;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.data.redis.core.RedisTemplate;import org.springframework.stereo...原创 2020-04-03 17:52:42 · 915 阅读 · 0 评论