mysql查询报错,检查了语句是没有问题的
2024-06-12 17:04:51.742 ERROR 149792 --- [io-10000-exec-4] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.InvalidDataAccessApiUsageException: Error attempting to get column 'create_time' from result set. Cause: java.sql.SQLFeatureNotSupportedException ; null; nested exception is java.sql.SQLFeatureNotSupportedException] with root cause
字段映射如下
这里依赖冲突
druid版本提高到1.2.6以上,如下
druid版本在1.1.21之前是不支持LocalDataTime等新日期处理方式的,但是Mybatis plus在3.3.1之后是支持的