```Caused by: java.lang.ClassNotFoundException: ko...
# spek
j
Copy code
Caused by: java.lang.ClassNotFoundException: kotlin.io.CloseableKt
r
Did you change anything? Upgraded kotlin perhaps?
j
Hey Ranie! Hope its going well.
I resorted to posing on general. Found the answer. forgot to update here 😊
r
Just saw it 🙂 Hmmm, I find it weird that you require
kotlin-stdlib
even if you already have
kotlin-stdlib-jdk8
.
j
yeah, maybe the pom for that doesn’t declare transitive dependency
you’re right though, it should
r
I thought those dependencies are exclusive,
kotlin-stdlib-jdk8
is compiled using a 1.8 target while
kotlin-stdlib
is using the default target (which I think is 1.6)
j
not sure . . . seems to work now