You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently tried upgrading from JVM version 1.8 to 11 by setting kotlinOptions.jvmTarget = "11", however I encountered the following error when using this library:
java.lang.NoClassDefFoundError: org/jetbrains/kotlin/cli/jvm/plugins/ServiceLoaderLite
at com.tschuchort.compiletesting.AbstractKotlinCompilation.getResourcesPath(AbstractKotlinCompilation.kt:219)
at com.tschuchort.compiletesting.AbstractKotlinCompilation.compileKotlin(AbstractKotlinCompilation.kt:194)
at com.tschuchort.compiletesting.KotlinCompilation.compileJvmKotlin(KotlinCompilation.kt:488)
at com.tschuchort.compiletesting.KotlinCompilation.compile(KotlinCompilation.kt:664)
...
Caused by:
java.lang.ClassNotFoundException: org.jetbrains.kotlin.cli.jvm.plugins.ServiceLoaderLite
at com.tschuchort.compiletesting.AbstractKotlinCompilation.getResourcesPath(AbstractKotlinCompilation.kt:219)
... 5 more
The text was updated successfully, but these errors were encountered:
I recently tried upgrading from JVM version
1.8
to11
by settingkotlinOptions.jvmTarget = "11"
, however I encountered the following error when using this library:The text was updated successfully, but these errors were encountered: