SpringCloud入门到精通- Error attempting to get column ‘create_time‘ from result set. Cause: java.sql.SQL
发布日期:2021-09-16 11:48:00 浏览次数:9 分类:技术文章

本文共 670 字,大约阅读时间需要 2 分钟。

百度原因是

Mybati-plus与druid数据源,由于druid数据源的版本太低,不支持JDK8中的LocalDate、LocalTime、LocalDateTime等日期类型,所以解决方案就是下载新版本的druid依赖,

查询到自己的版本:

已经是1.1.21了,那怎么办呢?

解决方案:

1、关闭idea;

2、删除项目;

3、重新git clone

4、idea open file

5、mvn clean install

6、run application

7、success

 

org.springframework.dao.InvalidDataAccessApiUsageException: Error attempting to get column 'create_time' from result set.  Cause: java.sql.SQLFeatureNotSupportedException ; null; nested exception is java.sql.SQLFeatureNotSupportedException

 

Caused by: java.sql.SQLFeatureNotSupportedException

    at com.alibaba.druid.pool.DruidPooledResultSet.getObject(DruidPooledResultSet.java:1771)
    at sun.reflect.NativeMethodAccessorImpl.invok

转载地址:https://blog.csdn.net/wxb880114/article/details/114677296 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:javax.crypto.IllegalBlockSizeException: Input length not multiple of 16 bytes
下一篇:SpringCloud Nacos本地启动失败 ead cluster conf fail nacos\conf\cluster.conf (系统找不到指定的路径。)

发表评论

最新留言

很好
[***.229.124.182]2024年03月30日 06时53分01秒

关于作者

    喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!

推荐文章