Guided by Serving Web Content with Spring MVC, I\'m creating a Spring Boot web application that I can run using both the embedded Tomcat instance as well as on a standalone Tomc
In case anyone having same problem while using sprint boot in the IntelliJ community edition. You just need to put your main class in the main package (com.xyx) don't put it in any subpackage which is created inside com.xyx.