In Kotlin SpringBoot Project Can I use some ktor p...
# server
m
In Kotlin SpringBoot Project Can I use some ktor package sources ? Can I use both ktor and springboot packages ?
n
i’m not sure i understand the question if you mean, can you use those 2 dependencies at the same time, sure you can if you mean, can i have some endpoints handled by spring webmvc and some handled by ktor, nope you’ll need to start both web servers so you’ll need to choose a different port for each of them unless there’s some spring boot ktor integration they won’t work together but side-by-side
👍 1
r
You can safely use ktor http client packages.
🙂 1
m
Thank you so much...I tried to make kotlin springboot project (2.3.0.RELEASE) with using KOTR package dependencies but I had some problems : Maybe the sources auto migrated from java to kotlin made some problems. After removing .idea folder and reimport the project, It could be resolved now as I think.