Эх сурвалжийг харах

fix 修复 新版本 Redisson 存在与 boot 2.X 的兼容性问题

疯狂的狮子li 2 жил өмнө
parent
commit
cedb174ffd
2 өөрчлөгдсөн 18 нэмэгдсэн , 0 устгасан
  1. 12 0
      pom.xml
  2. 6 0
      ruoyi-common/pom.xml

+ 12 - 0
pom.xml

@@ -225,8 +225,20 @@
                 <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>
+
+            <dependency>
                 <groupId>com.baomidou</groupId>
                 <artifactId>lock4j-redisson-spring-boot-starter</artifactId>
                 <version>${lock4j.version}</version>

+ 6 - 0
ruoyi-common/pom.xml

@@ -144,6 +144,12 @@
         </dependency>
 
         <dependency>
+            <groupId>org.redisson</groupId>
+            <artifactId>redisson-spring-data-27</artifactId>
+            <version>${redisson.version}</version>
+        </dependency>
+
+        <dependency>
             <groupId>com.baomidou</groupId>
             <artifactId>lock4j-redisson-spring-boot-starter</artifactId>
         </dependency>