Skip to content

Commit

Permalink
fix: 修复 Redisson 与 Spring Boot 2.7.x 版本冲突的问题
Browse files Browse the repository at this point in the history
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 版本)
  • Loading branch information
Charles7c committed Aug 16, 2023
1 parent 6fc6b36 commit 76622c2
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions continew-admin-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
11 changes: 11 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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 等项目) -->
Expand Down

0 comments on commit 76622c2

Please sign in to comment.