https://kotlinlang.org logo
#spek
Title
j

jasper

10/10/2018, 11:44 PM
Copy code
Caused by: java.lang.ClassNotFoundException: kotlin.io.CloseableKt
r

raniejade

10/11/2018, 12:29 AM
Did you change anything? Upgraded kotlin perhaps?
j

jasper

10/11/2018, 12:30 AM
Hey Ranie! Hope its going well.
I resorted to posing on general. Found the answer. forgot to update here 😊
r

raniejade

10/11/2018, 12:32 AM
Just saw it 🙂 Hmmm, I find it weird that you require
kotlin-stdlib
even if you already have
kotlin-stdlib-jdk8
.
j

jasper

10/11/2018, 12:32 AM
yeah, maybe the pom for that doesn’t declare transitive dependency
you’re right though, it should
r

raniejade

10/11/2018, 12:40 AM
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

jasper

10/11/2018, 1:29 AM
not sure . . . seems to work now
39 Views