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:
- [Solved] Error attempting to get column ‘xxxx_time‘ from result set. Cause: java.sql.SQLFeatureNotSupportedEx
- [Solved] Mybatis Error: attempting to get column ‘XX’ from result set
- [Solved] Error updating database. Cause: java.sql.SQLException: Incorrect integer value: ‘**‘ for column
- Caused by: java.lang.IllegalStateException (How to Fix)
- [Solved] Error updating database. Cause: java.sql.SQLException: Unknown initial character set index ‘255‘ re
- Error querying database.Cause: java.sql.SQLException: Error setting driver on UnpooledDataSource.
- [How to Solve Error]java.util.Date cannot be cast to java.sql.Date
- java: java.lang.IllegalAccessError: class lombok.javac.apt.LombokProcessor (in unnamed module @0x590
- [Solved] Failed to start bean ‘documentationPluginsBootstrapper’; nested exception is java.lang.NullPointerException
- [Solved] java.sql.SQLException: Unknown system variable cache query size
- [Solved] Failed to start bean ‘eurekaAutoServiceRegistration‘; nested exception is java.lang.NullPointerExce
- [Solved] fasterxml ToStringSerializerBase Error: Caused by: java.lang.NoClassDefFoundError…
- [Solved] Openfegn Remote Call Error: java.lang.NullPointerException: null
- [Solved] Mybatis insert Error: Cause: java.sql.SQLException: SQL String cannot be empty
- API Failed to Connect phoenix Error: java.sql.SQLException: ERROR 726 (43M10): Inconsistent namespace mapping properties
- Java will convert Excel to list set or JSON, export excel file to local, excel import and export, easyexcel tool class
- [Solved] Java Run Error: For input string: “XXX”
- [Solved] Failed to convert value of type ‘java.lang.String‘ to required type ‘java.util.Date‘;
- [Solved] Spring jdbctemplate Error: ‘Java. SQL. Driver’ for property ‘driver’: no
- [Solved] Error installing MVN: Java_Home is set to an invalid directory