chun888 发表于 2019-1-4 13:50:28

java 后台报错 请问这个错误是什么原因导致解决办法是什么

2019-01-04 13:45:06,607 WARN - parse json string error:请求异常,返回码:502
com.fasterxml.jackson.core.JsonParseException: Unexpected character ('请' (code 35831 / 0x8bf7)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')
at
        at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1369)
        at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:532)
        at com.fasterxml.jackson.core.base.ParserMinimalBase._reportUnexpectedChar(ParserMinimalBase.java:453)
        at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._handleUnexpectedValue(ReaderBasedJsonParser.java:1386)
        at com.fasterxml.jackson.core.json.ReaderBasedJsonParser.nextToken(ReaderBasedJsonParser.java:669)
        at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:2926)
        at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:2873)
        at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2034)
        at com.jeeplus.common.mapper.JsonMapper.fromJson(JsonMapper.java:129)
        at com.jeeplus.common.mapper.JsonMapper.fromJsonString(JsonMapper.java:238)
        at com.jeeplus.api.niumai.entity.ApiResponseBase.fromJson(ApiResponseBase.java:34)
        at com.jeeplus.api.niumai.service.AlarmReportApiService.getSession(AlarmReportApiService.java:450)
        at com.jeeplus.api.niumai.service.AlarmReportApiService.access$1200(AlarmReportApiService.java:24)
        at com.jeeplus.api.niumai.service.AlarmReportApiService$ReportAlarmThread.run(AlarmReportApiService.java:428)

chun888 发表于 2019-1-4 14:45:30

结贴,自己解决了。{:10_249:}
页: [1]
查看完整版本: java 后台报错 请问这个错误是什么原因导致解决办法是什么