问题:

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

 

相关文章:

  • 2021-05-30
  • 2021-10-06
  • 2022-03-07
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-17
  • 2021-06-23
相关资源
相似解决方案