From 76622c238f1d6028826407490e50a14bdba25ade Mon Sep 17 00:00:00 2001 From: Charles7c Date: Thu, 17 Aug 2023 00:04:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20Redisson=20?= =?UTF-8?q?=E4=B8=8E=20Spring=20Boot=202.7.x=20=E7=89=88=E6=9C=AC=E5=86=B2?= =?UTF-8?q?=E7=AA=81=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 版本) --- continew-admin-common/pom.xml | 4 ++++ pom.xml | 11 +++++++++++ 2 files changed, 15 insertions(+) diff --git a/continew-admin-common/pom.xml b/continew-admin-common/pom.xml index 6d1e73d8..620ed57a 100644 --- a/continew-admin-common/pom.xml +++ b/continew-admin-common/pom.xml @@ -138,6 +138,10 @@ limitations under the License. org.redisson redisson-spring-boot-starter + + org.redisson + redisson-spring-data-27 + diff --git a/pom.xml b/pom.xml index 759f5d78..e06c4025 100644 --- a/pom.xml +++ b/pom.xml @@ -170,6 +170,17 @@ limitations under the License. org.redisson redisson-spring-boot-starter ${redisson.version} + + + org.redisson + redisson-spring-data-30 + + + + + org.redisson + redisson-spring-data-27 + ${redisson.version}