无念log
默认分类
Spring Boot中Lombok与Jackson序列化异常解决方案
Spring Boot中Lombok与Jackson序列化异常解决方案前言本文记录了在Spring Boot应用开发过程中遇到的与Lombok和Jackson序列化相关的两个常见异常,并提供了详细的解决方案。这些异常表现为:com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class com.example.entity.Dept and no properties discovered to create BeanSerializer以及:org.springfr...
最近评论