MongoDB查询转对象时出错 Element ‘_id’ does not match any field or property of class – 狼窝窝 – 博客园
来源: MongoDB查询转对象时出错 Element \'_id\' does not match any field or property of class - 狼窝窝 - 博客园 参考:https://www.cnblogs.com/94cool/p/6230202.html 解决方法: 1、在实体类加: 2、或者定义public Object