Spring Boot Whitelabel Error page (type=Not Found, status=404) As a beginner to SpringBoot, this error can be happened to anyone at least once, due to some reasons. The Application class (eg: SpringAppApplication.java) should be at the root level, and the controller classes can be placed under the same level or maybe in a subdirectory.