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版本

 

 改为:

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM