Cannot deserialize value of type `java.util.ArrayList<com.trunk.common.core.po.xxx>` fr

Cannot deserialize value of type `java.util.ArrayList<com.trunk.common.core.po.xxx>` from Object value (token `JsonToken.START_OBJECT`)

报错原因是,后端是list,前端传的是个json类型的对象,修改方式,将前端代码的传参改为list,或者后端的代码改成对象。里面套成list就可以了

猜你喜欢

转载自blog.csdn.net/y15201653575/article/details/131108824