Lastly, create the application class, named SpringSecurityOAuth2Application.kt, which will convert your application into a SpringBoot application:
@SpringBootApplication
class SpringSecurityOAuth2Application
fun main(args: Array<String>) {
runApplication<SpringSecurityOAuth2Application>(*args)
}