Madhan
09/22/2020, 1:36 PMfun Application.module(testing: Boolean = false) {
install(ContentNegotiation) {
gson {
}
}
routing {
route("/codeLayer-0.0.5" ) {
get("/") {
call.respond(ResponseData("ktor SerVer from User Router, which was separated"))
}
}
}
}
This is my sample ktor project. I tried to deploy war file of this project in Tomcat server.
war file was successfully deployed but i can't get valid response. it gives 404 exception.
i can't able to access other routes also.
can anyone help me out on this ?