问题:

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

Mybatis Plus LocalDateTime - InvalidDataAccessApiUsageException

 

 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. 数据库

Mybatis Plus LocalDateTime - InvalidDataAccessApiUsageException

 

解决方案: 提升druid版本

Mybatis Plus LocalDateTime - InvalidDataAccessApiUsageException

 

 改为:

Mybatis Plus LocalDateTime - InvalidDataAccessApiUsageException

 

相关文章: