0

Error :

java.lang.IncompatibleClassChangeError: Found interface kotlin.time.TimeMark, but class was expected
    at io.kotest.engine.spec.interceptor.SpecFinishedInterceptor.intercept-0E7RQCE(SpecFinishedInterceptor.kt:37)

Tried Upgrading Kotlin version from :

val kotestVersion = "5.3.0" to val kotestVersion = "5.5.0"

but no luck

Also tried upgrading KotlinJvm Version but no success : Current ->

kotlin("jvm") version "1.6.21"

Any pointers would be appreciated

rahul.cs
  • 45
  • 6
  • 3
    Hello Rahul, it would be hard to help you without a minimal example to replicate this at our end, as the root of problem seems to be vague. – u-ways Feb 15 '23 at 19:51
  • @U-ways I saw and followed this post but still it didn't work . https://github.com/kotest/kotest/issues/2960 – rahul.cs Feb 15 '23 at 21:14
  • This is most likely a mismatch between kotlin versions because between 1.6 and 1.7 TimeMark went from a class to an interface. – sksamuel Mar 11 '23 at 13:55

0 Answers0