Hi! I just recently started trying to use coroutin...
# spring
e
Hi! I just recently started trying to use coroutines (in an app that uses spring boot, fwiw) and I keep getting this error:
java.lang.ClassNotFoundException: kotlin.coroutines.jvm.internal.SuspendLambda
I’m using gradle to build the project and have this in place
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.1.1'
(using old version b/c we’re on kotlin 1.3.20 for now) Any ideas what might be going on? Thread in Slack Conversation
t
looking at the source code, https://github.com/Kotlin/kotlinx.coroutines/tree/master/kotlinx-coroutines-core, the whole jvm package was not there in 1.1 (switch to tag 1.1 and most of that stuff disappears), so it seems you have to upgrade coroutine version. I am on mobile, limited navigation capabilities