org.codehaus.jackson.JsonParseException: Unexpected character ('<' (code 60)): expected a valid valu

The Exception I am getting is this here:

org.codehaus.jackson.JsonParseException: Unexpected character (‘<‘ (code 60)): expected a valid value (number, String, array, object, ‘true‘, ‘false‘ or ‘null‘)
at [Source: java.io.InputStreamReader@7d8e4a2e; line: 1, column: 2]
at org.codehaus.jackson.JsonParser._constructError(JsonParser.java:1433)
at org.codehaus.jackson.impl.JsonParserMinimalBase._reportError(JsonParserMinimalBase.java:521)
at org.codehaus.jackson.impl.JsonParserMinimalBase._reportUnexpectedChar(JsonParserMinimalBase.java:442)
at org.codehaus.jackson.impl.ReaderBasedParser._handleUnexpectedValue(ReaderBasedParser.java:1198)
at org.codehaus.jackson.impl.ReaderBasedParser.nextToken(ReaderBasedParser.java:485)
at org.codehaus.jackson.map.ObjectMapper._initForReading(ObjectMapper.java:2770)
at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2718)
at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1886)


返回的是html网页,不是json数据


我的出错原因十url写错了,导致重定向。所以到达一个纠正网页



org.codehaus.jackson.JsonParseException: Unexpected character ('<' (code 60)): expected a valid valu,布布扣,bubuko.com

org.codehaus.jackson.JsonParseException: Unexpected character ('<' (code 60)): expected a valid valu

上一篇:adb shell root的方法


下一篇:最齐全的web前端知识汇集