The swagger link is accessed with the following error
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Thu Mar 17 20:14:30 CST 2022
There was an unexpected error (type=Method Not Allowed, status=405).
Request method ‘GET’ not supported
The reason is that @PostMapping does not have a configured path
@PostMapping
public UserInfoResponse queryUserNameById(@RequestBody UserInfoRequest request){
log.info("Query user name request parameters",request);
UserInfoResponse response = userService.selectUserNameById(request);
log.info("Query user name return parameters",request);
return response;
}
Read More:
- [Solved] swagger Error: Fetch errorInternal Server Error /swagger/v1/swagger.jso
- Servlet.service() for servlet [dispatcherServlet] in context && Whitelabel Error Page
- How to Solve Internal Server Error: /swagger/v1/swagger.json
- Swagger-ui.html Open Error: There was an unexpected error (type=Not Found, status=404)
- [Solved] Swagger Startup Error: Failed to start bean ‘documentationPluginsBootstrapper‘
- [Solved] Whitelabel Error PageThis application has no explicit mapping for /error, so you are seeing this
- .Net Core 5.0 Upload File limit via Swagger Api report error: error: request entity too large [Three Methods]
- SpringBoot High Version Import Swagger 2.9.2 Error: ApplicationContextException: Failed to start bean ‘documentationPluginsBootstrapper‘
- [Solved] integrated swagger Start Error: Failed to start bean ‘documentationPluginsBootstrapper‘;
- Nginx: How to Use Error_Page
- [Solved] swagger3 Error: org.springframework.context.ApplicationContextException: Failed to start bean ‘documentationPluginsBootstrapper’; nested exception is java.lang.NullPointerException
- Ajax prevents page requests from reporting errors
- The drone settings page is not trusted
- Solution of socket write error caused by pressing F5 to refresh page by ehcache user
- [Solved] MindSpore Error: “RuntimeError: Invalid data, Page size.”
- feign.FeignException: status 404 reading XXXClient#XXMethod(String)
- [Solved] ERROR #8003 More than one page is numbered 1.
- The page you are requesting cannot be served because of the extension configuration
- How to Solve Zeppelin page 503 error
- The index.nvue page of uniapp reports an error about CSS