This exception indicates that the URL of the jump page has no corresponding value
Reason 1:
The location of the application startup class is incorrect. Put the application class on the outermost side, that is, it contains all sub packages
reason: spring boot will automatically load all components under the package where the startup class is located and its sub packages
Reason 2:
In the springboot configuration file: application.yml or application.properties, about the configuration of the view parser:
when the spring boot starter paren version in the POM file is higher:
spring.mvc.view.prefix/spring.mvc.view.suffix
when the spring boot starter paren version in the POM file is low, use:
spring.view.prefix/spring.view.suffix
Reason 3:
URL path writing problem of controller
@RequestMapping(“xxxxxxxxxxxxxx”)
the actual access path does not match “XXX”
Similar Posts:
- The thymeleaf engine in springboot reports an error [Solved]
- This application has no explicit mapping for /error, so you are seeing this as a fallback
- [How to Solve] RestController cannot be recognized in spring boot
- Springboot always reports an error when importing JSP dependencies
- Spring Boot Error: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration [How to Solve]
- [Solved] Spring Cloud Gateway Startup Error: Parameter 0 of method modifyRequestBodyGatewayFilterFactory in…
- [Solved] Error attempting to get column ‘create_time‘ from result set. Cause: java.sql.SQLFeatureNotSupported
- [Solved] Spring Boot Startup Error: DataSourceProperties$DataSourceBeanCreationException
- Eureka server project startup error handling
- Solution to the problem of consider defining a bean of type ‘xxx’ in your configuration in spring boot auto injection