In Maven, we can enable the kotlin-spring compiler plugin as follows:
<compilerPlugins> <plugin>spring</plugin></compilerPlugins>