Unexpected character (‘o’ (code 111)): was expecting double-
时间:2021-12-09 作者:匿名
报错:[域名.域名域名leHttpMessageNotReadable]Failed to read HTTP message: 域名.域名MessageNotReadableException: Could not read JSON document: Unexpected character (‘o’ (code 111)): was expecting double-quote to start field name
at [Source: 域名backInputStream@1f424599; line: 3, column: 4]; nested exception is 域名域名ParseException: Unexpected character (‘o’ (code 111)): was expecting double-quote to start field name.
在postman调试中,出现已上报错。
原因是参数形式未加引号。
错误:{ open : 1 }
正确:{ “open” : 1}
附引:elasticsearch在window中报错:”Unexpected character (‘m’ (code 109)): was expecting double-quote to start