环境:
mybatis plus + druid-spring-boot-starter
错误消息:
Handler-->Error attempting to get column 'orderTime' from result set. Cause: java.sql.SQLFeatureNotSupportedException
导致原因:
druid-spring-boot-starter 版本问问题,当前版本
<dependency> <groupId>com.alibaba</groupId> <artifactId>druid-spring-boot-starter</artifactId> <version>1.1.10</version> </dependency>
解决办法:升级版本为 1.1.22
<dependency> <groupId>com.alibaba</groupId> <artifactId>druid-spring-boot-starter</artifactId> <version>1.1.22</version> </dependency>
问题解决
https://www.leftso.com/article/2401310955394678.html