JAVA Error: Error attempting to get column ‘XXX’ from result set. Cause java.sql.

The entity class in Java uses the LocalDateTime type
Convert error: Error attempting to get column ‘XXX’ from result set. Cause: java.sql.

The solution is the simplest:
Switch the version number of com.alibaba to 1.1.22

   <dependency>
         <groupId>com.alibaba</groupId>
         <artifactId>druid-spring-boot-starter</artifactId>
         <version>1.1.22</version>
   </dependency>

Read More: