JSON parse error: Unrecognized token

JSON parse error: Unrecognized token

1.出错信息

JSON parse error: Unrecognized token 'Rj': 
was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false'); 
nested exception is com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'Rj':
 was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false')\n 
 at [Source: (PushbackInputStream

2.问题原因

请求如postman图示,后台应该用@RequestBody
在这里插入图片描述
在这里插入图片描述

发布了172 篇原创文章 · 获赞 64 · 访问量 16万+

猜你喜欢

转载自blog.csdn.net/WeiHao0240/article/details/103252120