Error attempting to get column 'XXX' from result set. Cause: java.sql.SQLFeatureNotSupportedException ; null; nested exception is java.sql.SQLFeatureNotSupportedException

项目技术背景:引用了 druid ,版本为 1.1.10。mybatis-puls查询数据始终报错,如下图。解决办法:

<dependency>
            <groupId>com.alibaba</groupId>
            <artifactId>druid-spring-boot-starter</artifactId>
            <version>${druid.version}</version>
        </dependency>

<!-- 把版本号1.1.10 改成 1.1.21 即可 -->
<druid.version>1.1.10</druid.version>
        <druid.version>1.1.21</druid.version>

 

原文地址:https://www.cnblogs.com/liyh321/p/14313544.html