1.配置了过滤器但在java到页面的字符乱码 解决办法
@RequestMapping中配置返回的格式produces = “application/json;charset=utf-8”
2.报500的错: No serializer found for class com.mvc.rope.User and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS)
解决办法:重写getset方法或者添加@Data注解
使用jackson-databind遇到的问题
最新推荐文章于 2023-01-26 22:14:55 发布