Hello everyone. I’m trying to implement Kotlin cor...
# spring
d
Hello everyone. I’m trying to implement Kotlin coroutines within a project as per this article https://spring.io/blog/2019/04/12/going-reactive-with-spring-coroutines-and-kotlin-flow. However wherever I see client.execute() or client.select(), IntelliJ highlight execute in red. All I can see when I hover is this message Unresolved reference: execute. I think I have a missing gradle package. I have these regarding couroutines:
Copy code
mplementation("org.springframework.boot:spring-boot-starter-webflux:2.7.3")
	implementation("org.springframework.boot:spring-boot-starter-data-r2dbc")
	implementation("org.springframework.data:spring-data-r2dbc:1.5.2")
	implementation("io.r2dbc:r2dbc-spi:1.0.0.M6")
	implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core")
	implementation("org.jetbrains.kotlinx:kotlinx-coroutines-reactor")
Anyone can see what I’m missing ?
r
The R2DBC and DatabaseClient APIs have changed several times since that article was published. Ctrl + Click or look up the Java doc to get a better sense of what the current implementation is.
👍 1