fix: 修复 Redisson 与 Spring Boot 2.7.x 版本冲突的问题
1.报错信息:Caused by: java.lang.ClassNotFoundException:org.springframework.data.redis.connection.zset.Tuple 2.解决方案:将 redisson-spring-data-30(对应 Spring Boot 3.0.x 版本) 调整为 redisson-spring-data-27(对应 Spring Boot 2.7.x 版本)
This commit is contained in:
parent
6fc6b36d6c
commit
76622c238f
@ -138,6 +138,10 @@ limitations under the License.
|
||||
<groupId>org.redisson</groupId>
|
||||
<artifactId>redisson-spring-boot-starter</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.redisson</groupId>
|
||||
<artifactId>redisson-spring-data-27</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- Easy Captcha(Java 图形验证码,支持 gif、中文、算术等类型,可用于 Java Web、JavaSE 等项目) -->
|
||||
<dependency>
|
||||
|
11
pom.xml
11
pom.xml
@ -170,6 +170,17 @@ limitations under the License.
|
||||
<groupId>org.redisson</groupId>
|
||||
<artifactId>redisson-spring-boot-starter</artifactId>
|
||||
<version>${redisson.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.redisson</groupId>
|
||||
<artifactId>redisson-spring-data-30</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.redisson</groupId>
|
||||
<artifactId>redisson-spring-data-27</artifactId>
|
||||
<version>${redisson.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Easy Captcha(Java 图形验证码,支持 gif、中文、算术等类型,可用于 Java Web、JavaSE 等项目) -->
|
||||
|
Loading…
Reference in New Issue
Block a user