Controllers
are not initialize because you have not scan the packages for controller
add
these lines in your main class.
If
you are scanning a particular class for controller.
@SpringBootApplication @ComponentScan(basePackageClasses = temInventoryController.class) public class InventoryApp {
if
you want to scan a whole package for controller add this.
@ComponentScan(basePackages = "com.home.controller")
Comments
Post a Comment