Hey, how can I install a feature if my main class ...
# ktor
r
Hey, how can I install a feature if my main class is not of type io.ktor.application? I'm using Java 9.
c
In ktor you don't need to implement any inerfaces
r
Thanks for the quick reply. Unfortunately I cannot use the configuration, as I'm getting this problem: https://github.com/ktorio/ktor/issues/342
c
Why do you need java 9 modules?
Or you see it just from IDEA?
r
I have only jdk 9 installed. Yeah its just from IDEA. With gradle it works. But then I cannot use debugger I guess. I saw its already discussed here: https://kotlinlang.slack.com/archives/C0A974TJ9/p1543177721463900
Thanks for you help, looks like I have to wait for IDEA update. 👍
I've downgraded to jdk8 and it works with that version.
m
See https://bitbucket.org/marshallpierce/ktor-demo/src for a way to use ktor without ktor’s config.
r
Interesting, thanks man 👍