https://kotlinlang.org logo
#ktor
Title
# ktor
b

ByteZ

03/23/2022, 3:31 PM
I'm currently unable to properly import the ktor client dependency for some reason. I added
ktor-client-core
and
ktor-client-cio
to my pom.xml dependencies but can't access any classes even though I can see them under external libraries. I already tried invalidating my intellij caches and deleting both dependencies from my local repo. Is there something I missed or is this an intellij bug?
a

Aleksei Tirman [JB]

03/23/2022, 7:59 PM
Please try to add the
-jvm
suffix to the artifact names, e.g.
ktor-client-core-jvm
.
b

ByteZ

03/23/2022, 8:05 PM
That worked! Thank you
2 Views