com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class
com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class xxx and no properties discovered to create BeanSerializer使用objectMapper.writeValuesAsString()时报错这是报错的代码我报错的理由是自定义的bean Area没有写getter方法。...
原创
2021-04-23 10:45:18 ·
1654 阅读 ·
0 评论