In Kotlin SpringBoot Project Can I use some ktor package sources ? Can I use both ktor and springboot packages ?
n
nfrankel
05/28/2020, 2:52 PM
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
Robert Jaros
05/28/2020, 3:07 PM
You can safely use ktor http client packages.
🙂 1
m
Mgkaki
05/30/2020, 12:23 PM
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.