Is there a version of `spring-boot-starter-webflux...
# spring
g
Is there a version of
spring-boot-starter-webflux
with the new coroutines support? Or I need to manually include dependencies such as
'spring-webflux', version: '5.2.0.M2'
?
r
2.2.0.RC1
published at
maven { url = uri("<https://repo.spring.io/milestone>") }
g
Then I guess I must be doing something else wrong, upon calling a suspend function in a
@RestController
endpoint,
java.lang.IllegalStateException: No primary or default constructor found for interface kotlin.coroutines.Continuation
is thrown
Kotlin version is
1.3.50
,
kotlinx-coroutines-core
is
1.3.2
g
Got it, was using the wrong version of the
org.springframework.boot
plugin, and missing
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-reactor")