java报错:Caused by: com.fasterxml.jackson.databind.JsonMappingException: Unexpected character (''' (code 39)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')

我在用Postman测试后台接口是报了个错

Caused by: com.fasterxml.jackson.databind.JsonMappingException: Unexpected character (''' (code 39)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')

翻译:引起的:com.fasterxml.jackson.databind。JsonMappingException:意外字符(" '(代码39)):期望一个有效值(数字,字符串,数组,对象,'true', 'false'或'null')

大概意思是传到后台去的参数有个不能解析的字符(猜测应该是某个参数有问题),可以看到referencesNo打了把 “x”  是我把双引号写成了单引号,改过来就对了

 

posted @ 2021-01-08 11:13  星期7  阅读(4991)  评论(0编辑  收藏  举报