Resolved [org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Unexpected character (',' (code 44)):
时间: 2023-10-31 08:48:35 浏览: 42
This error occurs when the JSON received by the server is not in a valid format. The server is unable to parse the JSON due to the presence of an unexpected character (',' in this case).
To resolve this issue, you can try the following steps:
1. Check the JSON data being sent to the server and ensure that it is in a valid format. You can use a JSON validator tool to validate the JSON.
2. If the JSON data is being sent from the client application, ensure that the JSON serializer is properly configured to generate valid JSON.
3. Check the server-side code that is parsing the JSON and ensure that it is properly configured to handle the JSON data.
4. Check the HTTP headers being sent with the request and ensure that they are properly configured to indicate that JSON data is being sent.
5. If the issue persists, you can try to capture the network traffic using a tool like Wireshark to identify any issues with the data being sent over the network.