Typedefinitionerror:[simpletype,classorg.hibernate.proxy.pojo.bytebuddy.ByteBuddyInterceptor];nestedexceptioniscom.fasterxml.jackson.databind.exc.InvalidDefinitionException:Noserializerfoundforclassorg.hibernate.proxy.pojo.bytebuddy.ByteBuddyInterceptorandnopropertiesdiscoveredtocreateBeanSerializer(toavoidexception,disableSerializationFeature.FAIL_ON_EMPTY_BEANS)
2 回答

宝慕林4294392
TA贡献2021条经验 获得超8个赞
objectMapper.setSerializationInclusion(JsonInclude.Include.NON_EMPTY);
添加回答
举报
0/150
提交
取消