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

Aalok

09/02/2019, 10:51 AM
Hey guys, new to Kotlin and this channel, please help me. Basically I'm facing this issue. https://github.com/ktorio/ktor/issues/253 I'm not able to read from application.conf file, please help
e

e5l

09/02/2019, 10:59 AM
@cy
e

Evan R.

09/03/2019, 1:41 PM
Have you seen this section in the documentation? It may help. https://ktor.io/servers/configuration.html#accessing-config
c

cy

09/03/2019, 1:44 PM
There are two usual reasons for undiscoverable conf file: - wrong gradle config so resources directory is not detected - wrong gradle config so resources directory is nit added to the classpath and/or not packaged into the resulting jar
3 Views