I haven't used Spring Boot for a long time, but the gist is that your issue isn't related to Spring Boot, it's related to Kotlin. You have to change your project dependencies somehow to include Kotlin. Doesn't Spring Boot also generate a JAR or a WAR or something? You need to make sure Kotlin is included in that artifact.