fastjson default constructor not found

ncgqoxb0  于 4个月前  发布在  其他
关注(0)|答案(1)|浏览(106)

use kotlin com.alibaba:fastjson:1.1.67.android
Caused by: com.alibaba.fastjson.JSONException: default constructor not found. class
at com.alibaba.fastjson.parser.JavaBeanInfo.build(JavaBeanInfo.java:496)
at com.alibaba.fastjson.parser.JavaBeanDeserializer.(JavaBeanDeserializer.java:35)
at com.alibaba.fastjson.parser.ParserConfig.getDeserializer(ParserConfig.java:229)
at com.alibaba.fastjson.parser.ParserConfig.getDeserializer(ParserConfig.java:148)
at com.alibaba.fastjson.parser.DefaultJSONParser.parseObject(DefaultJSONParser.java:683)
at com.alibaba.fastjson.parser.DefaultJSONParser.parseObject(DefaultJSONParser.java:659)
at com.alibaba.fastjson.JSON.parseObject(JSON.java:238)
at com.alibaba.fastjson.JSON.parseObject(JSON.java:210)
at com.alibaba.fastjson.JSON.parseObject(JSON.java:169)
at com.alibaba.fastjson.JSON.parseObject(JSON.java:278)

相关问题