-
Hello! I am struggling to execute multiple redis commands using Kotlin and coroutines in a Micronaut application. Micronaut uses Lettuce Redis version 6.1.1.RELEASE, I've added the dependencies below into my implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-reactive:1.5.2") And I've created this code to call Redis:
When I call the code above, I receive this error:
Any tips? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
It seems that you need to add |
Beta Was this translation helpful? Give feedback.
-
Thank you very much @mp911de ! I added the dependency and it worked as expected.
|
Beta Was this translation helpful? Give feedback.
It seems that you need to add
kotlinx-coroutines-jdk8
to your project.