codemwnci
06/10/2018, 2:57 PMapplication.properties
, but this fails. I am using
@Value("\${application.secret:}")
lateinit var jwtSecret: String
but this fails to initialise the secret from the application properties. I am not sure if I am missing another annotation to tell Spring to scan this particular kotlin file, but I couldnt find anything when searching.