I am more curious as to what I'm missing here rather than this being a serious use case
j
Joffrey
04/21/2022, 4:12 PM
NoSuchMethodError
usually sounds like the runtime classpath is missing something that was there at compile time. How are you compiling and running this code and the code that calls it?
c
cah
04/21/2022, 4:18 PM
This is part of a ktor project which I'm running using the gradle run task
j
Joffrey
04/21/2022, 4:50 PM
Is this a multi-module project? Maybe the module containing
launchIO
is declared as
compileOnly
dependency of the module using it?
j
julian
04/22/2022, 5:20 PM
@cah I'm able to compile and run your code without errors.