springmvccontroller返回json出错解决(2)

2018-11-27 17:26

org.codehaus.jackson.map.JsonMappingException.wrapWithPath(JsonMappingException.java:218)

org.codehaus.jackson.map.JsonMappingException.wrapWithPath(JsonMappingException.java:183)

org.codehaus.jackson.map.ser.std.SerializerBase.wrapAndThrow(SerializerBase.java:140)

3原因分析:

可能是json序列化的问题 代码修改为

@RequestMapping(value = \public @ResponseBody

Map query(@RequestParam(\@RequestParam(\

@RequestParam(\@RequestParam(\@RequestParam(\@RequestParam(\@RequestParam(\

@RequestParam(\

LogInfo info = populateQueryParam(startTime, endTime, oid, cid, payChannel, deviceType, phone, pageSize, startIndex);

// 总记录数

Long totalCount = logMoniterService.queryLogInfoCount(info);

if (totalCount == null) { totalCount = 0L; }

List list = logMoniterService.queryLogInfo(info);

Map result = new HashMap();

result.put(\ result.put(\ result.put(\

result.put(\ return result; }

4、问题解决


springmvccontroller返回json出错解决(2).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:商业银行法试题及答案

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: