报错信息:Servlet.service() for servlet [dispatcherServlet] in context with path [/security] threw exception [Request processing failed; nested exception is org.springframework.dao.InvalidDataAccessApiUsageException: Error attempting to get column 'xxxx_ime' from result set. Cause: java.sql.SQLFeatureNotSupportedException
; null; nested exception is java.sql.SQLFeatureNotSupportedException] with root cause
错误原因:
Java实体类中字段用到了LocalDateTime类型,在转换时报错:Error attempting to get column 'xxxx_ime' from result set........
解决:
1. 升级druid版本至1.1.22 以上即可消除问题
2. 将实体类日期类型改为 java.util.Date