请求RESTFul后台 JSON解析 失败invalid UTF-8 start byte 0xbd

错误信息:

 nested exception is com.fasterxml.jackson.databind.JsonMappingException: Invalid UTF-8 start byte 0xbd
 at [Source: (PushbackInputStream); line: 14, column: 22]
 at [Source: (PushbackInputStream); line: 14, column: 20] (through reference chain: com.zit.lpark.entity.model.QueryParam["cmdValue"]->com.zit.lpark.entity.model.CmdValue["record"]->com.zit.lpark.entity.model.Record["plateLicense"])]
19:09:23.351 [messageListenerContainer-C-1] WARN  org.apache.kafka.clients.NetworkClient - [Consumer clientId=consumer-1, groupId=1] Connection to node -1 could not be established. Broker may not be available.

错误原因:

使用soapUI中RESTFul请求,soapUI请求默认编码不是UTF-8

解决方法:

使用Postman-win64-7.0.7-Setup解决问题

猜你喜欢

转载自blog.csdn.net/taotao_guiwang/article/details/89217914