[WARNING] Resolved [org.springframework.web.HttpMediaTypeNotSupportedException: Content type 'application/json;charset=UTF-8' not supported]
时间: 2023-11-17 22:42:56 浏览: 489
This warning indicates that the server is unable to process the request because the content type specified in the request header is not supported by the server. In this case, the content type is 'application/json;charset=UTF-8'.
To resolve this issue, you can try specifying a different content type in the request header that is supported by the server. Alternatively, you can check the server configuration to ensure that it supports the content type specified in the request header.
If you are developing the server-side code, you can add support for the content type by configuring the server to handle requests with the 'application/json;charset=UTF-8' content type. This can be done by adding appropriate mappings in the server configuration or by adding a custom message converter to handle JSON requests.
阅读全文