Record a super speechless error…
The error reported after running the project is as follows:
the reason is that the annotation in the controller class is written as @ controller
but this is automatically generated by mybatis plus for me…
The final solution is to change the @controller annotation to @restcontroller.
Read More:
- SpringBoot 404 Error: Whitelabel Error Page This application has no explicit mapping for /error, so yo
- [Solved] SpringBoot Error: This application has no explicit mapping for /error,so you are seeing this as a fallback
- [Solved] Springboot loads static page Error: whitelabel error page
- [Solved] Spring Error: This application has no explicit mapping for /error
- SpringBoot: Whitelabel Error Page 404 [How to Solve]
- Springboot reports an error whitelabel error page
- NULL value exception occurs when freemarker renders the page globally in the springboot project
- whitelabel error page SpEL RCE vulnerability recurrence [How to Fix]
- [Solved] springboot Project Run Error: HikariPool-1 – Exception during pool initialization.
- [Solved] JPA query data error: Page 1 of 0 containing UNKNOWN instances
- Spring boot real time HTML page
- Springboot reports an error After adding the import annotation: application failed to start
- Android startup page (solve the problem of starting black and white screen)
- H2 memory database Oracle mode page error: rg.springframework.dao.InvalidDataAccessResourceUsageException: could not prepar
- [Solved] Springboot Project Startup Error: Unable to Identify bootstrap.yml Configuration
- thymeleaf Error: An error happened during template parsing Cannot render error page for request
- [Solved] SpringBoot Project Startup Error: Field userMapper in com.demo.controller.MemberController required a bean of type ‘c
- Springboot Project Error: Failed to execute goal org.apache.maven.plugins
- [Solved] Springboot project introduces Font library error: java.awt.fontformatexception: bad table, tag = XXXXXX
- Springboot Project: How to Introduces Local Jar Package