Spring with Kotlin & Jackson deserialization: lateinit property <attribute> has not been initialized
I have to admit that I'm quite new to Kotlin and a complete newbie with Spring, but those are the tools that I have to use, so here I am.
I have a custom Jackson Deserializer which needs an instance of an externally (Spring Boot properties file) configured class in order to do its work, but despite my attempts, I always get the following error:
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is kotlin.UninitializedPropertyAccessException:...