Appears when spring Boot is running
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Sat Feb 16 00:12:17 CST 2019
There was an unexpected error (type=Not Found, status=404).
No message available
Here’s my solution
The Application startup class is not in the right place. To place the Application class on the outermost side, it contains all subpackages
reason :spring-boot automatically loads all components under the package where the startup class is located and under its subpackages.
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Sat Feb 16 00:12:17 CST 2019
There was an unexpected error (type=Not Found, status=404).
No message available
Here’s my solution
The Application startup class is not in the right place. To place the Application class on the outermost side, it contains all subpackages
reason :spring-boot automatically loads all components under the package where the startup class is located and under its subpackages.
Read More:
- 13.2 spring boot start error: whitelabel error page
- Spring boot problem 1: error reporting life processing instructions for building a spring boot project
- Execution repackage of goal org.springframework.boot:spring-boot-maven-plugin:2.4.0:repackage failed
- The spring boot project directly replaces the referenced jar package
- Specify the configuration file when the spring boot command starts
- Spring boot prompt could not resolve placeholder in string value
- Spring boot integrates es cluster error report collection
- Spring boot problem solving record (1)
- spring boot-beans in application context form a cycle
- When idea generates a spring boot project, error: read timed out appears
- Spring boot does not take effect when using @ size to verify a single set parameter of the control layer
- Add PageHelper spring boot starter dependency to springboot and report an error
- Spring boot thymeleaf crud implements simple functions of adding, deleting, modifying and querying
- Solution to the problem of spring boot running test class error creating bean with name ‘serverendpoint exporter’ defined
- Spring MVC realizes page upload file
- Spring boot running appears java.lang.IllegalStateException : Failed to load ApplicationContext
- Failure of spring boot configuration server port
- Spring boot project running error: Servlet.service () for servlet [dispatcherServlet] threw exception
- Spring Boot Thymeleaf ERROR 8592 org.thymeleaf.TemplateEngine
- Gradle build spring boot failed to find plugins and reported an error