sirwsl   >   标签墙   >   mybatis 标签

mybatis中bug——LocalDateTime处理

2020-11-15

LocalDateTime时间返序列化出错。Execution of Rabbit message listener failed.

Caused by: com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of java.time.LocalDateTime (no Creators, like default constructor, exist): cannot deserialize from Object value (no delegate- or property-based Creator)

org.springframework.amqp.rabbit.support.ListenerExecutionFailedException: Listener threw exception

Caused by: org.springframework.amqp.support.converter.MessageConversionException: Failed to convert Message content

Mybatis从0到1(基础进阶教程) 置顶! 有更新!

2020-08-08

mybatis从基础到进阶,学mybatis看这一篇文章就够。讲解mybatis,文件配置、使用方式、动态sql、关系映射、逆向工程、二级缓存、分页、项目整合