Make your application class extend the SpringBootServletInitializer class. Add a new annotation, as follows, letting your Spring Boot application know that a new controller, HomeController, is a component that it has to scan:
@ComponentScan(basePackageClasses=HomeController.class)