Explore the Spring Boot application While Spring Boot looks for a public static main() method, the Kotlin application uses a top-level function defined outside DemoApplication class . The DemoApplication class is not declared as open , since the kotlin-spring plugin does that automatically.1 Ara 2021