Mybatis Plus LocalDateTime - InvalidDataAccessApiUsageException

问题:

1. 业务层 - 根据用户名查找用户信息 - select * from sys_user where username = #{userName}

 

 2. 报错

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 'login_date' from result set.
Cause: java.sql.SQLFeatureNotSupportedException;
null; nested exception is java.sql.SQLFeatureNotSupportedException] with root cause

3. 数据库

 

解决方案: 提升druid版本

 

 改为:

 

posted @ 2020-06-12 09:48  减字木兰花·回风落景  阅读(1151)  评论(0编辑  收藏  举报