no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.

no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS)

检查一下是否有public的getter与setter方法:

no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature._第1张图片

 参考:

No serializer found for class 类名 and no properties discovered to create BeanSerializer - 云+社区 - 腾讯云首页控制台会打印如下异常 com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No ...icon-default.png?t=M276https://cloud.tencent.com/developer/article/1668655

你可能感兴趣的:(日常,工作bug解决)