No serializer found for class edu.hut.lh.POJO.Dept and no properties discovered to create BeanSerial
No serializer found for class edu.hut.lh.POJO.Dept and no properties discovered to create BeanSerializer这是由于使用了RestController注解将查询的POJO类装转化为JSON字符串时报错。解决方法:要么将POJO类的属性设为public,或者提供属性的public的get()方法。...