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