mirror of
				https://github.com/continew-org/continew-admin.git
				synced 2025-10-31 10:57:13 +08:00 
			
		
		
		
	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:
		| @@ -138,6 +138,10 @@ limitations under the License. | |||||||
|             <groupId>org.redisson</groupId> |             <groupId>org.redisson</groupId> | ||||||
|             <artifactId>redisson-spring-boot-starter</artifactId> |             <artifactId>redisson-spring-boot-starter</artifactId> | ||||||
|         </dependency> |         </dependency> | ||||||
|  |         <dependency> | ||||||
|  |             <groupId>org.redisson</groupId> | ||||||
|  |             <artifactId>redisson-spring-data-27</artifactId> | ||||||
|  |         </dependency> | ||||||
|  |  | ||||||
|         <!-- Easy Captcha(Java 图形验证码,支持 gif、中文、算术等类型,可用于 Java Web、JavaSE 等项目) --> |         <!-- Easy Captcha(Java 图形验证码,支持 gif、中文、算术等类型,可用于 Java Web、JavaSE 等项目) --> | ||||||
|         <dependency> |         <dependency> | ||||||
|   | |||||||
							
								
								
									
										11
									
								
								pom.xml
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								pom.xml
									
									
									
									
									
								
							| @@ -170,6 +170,17 @@ limitations under the License. | |||||||
|                 <groupId>org.redisson</groupId> |                 <groupId>org.redisson</groupId> | ||||||
|                 <artifactId>redisson-spring-boot-starter</artifactId> |                 <artifactId>redisson-spring-boot-starter</artifactId> | ||||||
|                 <version>${redisson.version}</version> |                 <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> | ||||||
|  |  | ||||||
|             <!-- Easy Captcha(Java 图形验证码,支持 gif、中文、算术等类型,可用于 Java Web、JavaSE 等项目) --> |             <!-- Easy Captcha(Java 图形验证码,支持 gif、中文、算术等类型,可用于 Java Web、JavaSE 等项目) --> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user