: String a_O=request.getParameter(a_O);
姝e?ㄦ????涓??璇风???锛?濡????挎?堕?存病????搴?锛?璇疯??????版?????/p>
33:
Stacktrace:
org.apache.j
er.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:521)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:430)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
root cause
net.sf.json.JSONException: Expected a ',' or '}' at character 61 of {openid:onCqvjst3pURIbIlbsmDNnxbMW8s,nickname:?戒?? ,sex:0,language:zh_CN,city:,province:,country:,headimgurl:http://wx.qlogo.cn/mmopen/vpcPddV2QVbDAyVtDKstAR8iaSUwsNxMMEx5Tr1z3q9W7bWJCptN3yr8g4VllB9pwtGABBBdgfCRyh5ibrq2g2UeKIxJv9lOLU/0,privilege:[]}
net.sf.json.util.JSONTokener.syntaxError(JSONTokener.java:499)
net.sf.json.JSONObject._fromJSONTokener(JSONObject.java:1099)
net.sf.json.JSONObject._fromString(JSONObject.java:1201)
问题原因 乱码
解决方案
BufferedReader in = new BufferedReader(new InputStreamReader(urlCon.getInputStream(),UTF-8));
相同问题
net.sf.json.JSONException: Expected a ',' or '}' at character 65 of {totalCount:343,data:[{parkTel:123456,parkName:源梦 ?,parkId:31,parkAddress:上海市闵行区虹梅南路215 ?,parkType:0,totalParkingSpaces:200,icons:http://m3.img.libdd.com/farm5/240/F3B0AF4232D6E2ADFB8DA7B8B624FDF0_250_250.jpg,detailedId:13895,collect:2},{parkTel:1521611100,parkName:恒盛大厦,parkId:32,parkAddress:上海市闸北区华盛 ?2 ?,parkType:0,totalParkingSpaces
在查询的时候出现这个错误,但是这个错误在我的机器上没有出现,放到别人机器上就这样了求解决
链接
http://bbs.csdn.net/topics/390411201?page=1#post-396415230