报异常为com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class com.home.pojo.StudentInfo and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: java.util.ArrayList[0])的原因?
**ans:**
忘记给定义的类对应的Javabean导入get,set方法了!!!
自行导入对应的方法即可解决!!!
**事实证明**就是如此!!!