zpearce
09/05/2018, 7:15 PMval env = applicationEngineEnvironment {
config = HoconApplicationConfig(ConfigFactory.load())
}
withApplication(env) {
// test code
}
This results in java.lang.UnsupportedOperationException: Packages and file facades are not yet supported in Kotlin reflection. Meanwhile please use Java reflection to inspect this class: class com.zpearce.AppKt
What am I doing wrong? application.conf has the value "ktor.application.modules = [ com.zpearce.AppKt.main ]" in it, if that helpsБежан Александр
09/05/2018, 8:06 PMБежан Александр
09/05/2018, 8:07 PM.conf
file (debug with println it’s content to be sure)zpearce
09/06/2018, 3:30 PM