If it is in Idea make sure you are using Kotlin Id...
# spring
s
If it is in Idea make sure you are using Kotlin Idea plugin 1.0.6