rajesh
04/07/2021, 10:58 PM2.4.4
which has 2.4.4
vesrion of spring-boot-starter-data-redis
I want to use 2.4.7
version of it and tried following lines but it's not working
implementation("org.springframework.boot:spring-boot-starter-data-redis:2.4.7")
it says
Could not find org.springframework.boot:spring-boot-starter-data-redis:2.4.7.
Required by:
project :
I've also tried adding following line to build.gradle file with no luck
extra["spring-data-redis.version"] = "2.4.7"
Saharath Kleips
04/07/2021, 11:05 PM2.4.7
version of spring-boot-starter-data-redis
. Perhaps you’re looking for spring-data-redis
? The extra[…]
block is how I’ve done it for other dependencies, but you could try running gradle dependencies
to see if something else is bringing in the lower version?rajesh
04/07/2021, 11:07 PMspring-data-redis 2.4.7
How should i use that?Saharath Kleips
04/07/2021, 11:07 PMimplementation("org.springframework.boot:spring-boot-starter-data-redis:2.4.7")
but maybe what you want is implementation("org.springframework.boot:spring-data-redis:2.4.7")
?rajesh
04/07/2021, 11:08 PMimplementation("org.springframework.boot:spring-boot-starter-data-redis:2.4.7")
?Saharath Kleips
04/07/2021, 11:09 PMspring-boot-starter-data-redis
rajesh
04/07/2021, 11:10 PMspring-data-redis
will provide all features of spring-boot-starter-data-redis
correct? i mean no build failure?Saharath Kleips
04/07/2021, 11:12 PMimplementation("org.springframework.boot:spring-boot-starter-data-redis:2.4.4")
implementation("org.springframework.boot:spring-data-redis:2.4.7")
I think ideally you’d want to use the extra[...]
block you shared but perhaps the name is incorrect.Saharath Kleips
04/07/2021, 11:12 PMgradle dependencies
to make sure everything looks 👌Saharath Kleips
04/07/2021, 11:13 PMSaharath Kleips
04/07/2021, 11:14 PMplugins {
id("io.spring.dependency-management")
}
rajesh
04/07/2021, 11:41 PMimplementation("org.springframework.boot:spring-data-redis:2.4.7")
but it still says
Could not find org.springframework.boot:spring-boot-starter-data-redis:2.4.7.
Required by:
projec
Saharath Kleips
04/07/2021, 11:50 PMspring-boot-starter-data-redis
version 2.4.7
According to https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-data-redis the latest version is 2.4.4
so that needs to staySaharath Kleips
04/07/2021, 11:52 PMextra
thing was not working:
implementation("org.springframework.boot:spring-boot-starter-data-redis:2.4.4")
implementation("org.springframework.boot:spring-data-redis:2.4.7")
Saharath Kleips
04/07/2021, 11:59 PMSaharath Kleips
04/07/2021, 11:59 PMMike
04/09/2021, 3:21 PMSaharath Kleips
04/09/2021, 6:27 PMMike
04/09/2021, 9:47 PMSaharath Kleips
04/09/2021, 10:39 PM