I\'m working on a Java project and within this project I did my first try with Kotlin. I started converting some classes to Kotlin with the JavaToKoltin converter provided i
I'm going to say that you're trying to run Kotlin code without the kotlin-runtime
library
Check which system you're using and add the neccesary jar file. You can verify that this is your issue by packaging your project into a .jar
file and running it with the runtime library
In my case, a enableFeaturePreview
in the settings.gradle caused this issue when migrating to Kotlin 1.3.