Can not deserialize instance of java.lang.String out of START_OBJECT token

前端 未结 5 726
野的像风
野的像风 2020-12-08 12:42

I\'m running into an issue where my deployable jar hits an exception that doesn\'t happen when I run this locally in IntelliJ.

Exception:

5条回答
  •  甜味超标
    2020-12-08 13:28

    Data content is so variable, I think the best form is to define it as "ObjectNode" and next create his own class to parse:

    Finally:

    private ObjectNode data;

提交回复
热议问题