springboot启动后,使用postman访问路径,提示Conversion not supported for type java.time.LocalDateTime
错误,网上查资料了解到,
在Entity实体类内java8特性的LocalDateTime要求mysql-connector-java版本不能低于5.1.37,pom文件修改为5.3.7版本后可以正常运行
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-tx</artifactId>
<version>5.3.7</version>
</dependency>