title: class java.time.LocalDateTime cannot be cast to class java.lang.String
body: <p>Currently i am using <strong>liquibase -&gt; 4.3.2</strong> and <strong>mysql -&gt; 8.0.22</strong> for my spring boot project. I am trying to create table through liquibase. It gets excuted first time . It creates 2 database by default . 1. <strong>databasechangelog</strong> and 2. <strong>databasechangeloglock</strong> . But when i try to run again then it gives me following error :</p>
  <pre><code>**Caused by: java.lang.ClassCastException: class java.time.LocalDateTime cannot be cast to class java.lang.String (java.time.LocalDateTime and java.lang.String are in module java.base of loader 'bootstrap')**
  </code></pre>
  <p><strong>Code for my db.changelog-1.0.xml :</strong></p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  &lt;databaseChangeLog
          xmlns=&quot;http://www.liquibase.org/xml/ns/dbchangelog&quot;
          xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
          xsi:schemaLocation=&quot;http://www.liquibase.org/xml/ns/dbchangelog
                        http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.8.xsd&quot;&gt;
  
          &lt;changeSet id=&quot;1&quot; author=&quot;auth1&quot;&gt;
              &lt;sql&gt;
                  CREATE TABLE user (
                  id BIGINT NOT NULL AUTO_INCREMENT,
                  fname VARCHAR(255) NOT NULL,
                  lname VARCHAR(255) NOT NULL,
                  email VARCHAR(255) NOT NULL,
                  number BIGINT NOT NULL,
                  password VARCHAR(255) NOT NULL,
                  role VARCHAR(255) NOT NULL,
                  CONSTRAINT PK_id PRIMARY KEY (id)
                  );
              &lt;/sql&gt;
              &lt;rollback&gt;
                  DROP TABLE user;
              &lt;/rollback&gt;
          &lt;/changeSet&gt;
      
          &lt;changeSet id=&quot;2&quot; author=&quot;auth1&quot;&gt;
              &lt;sql&gt;
                  CREATE TABLE plant (
                  plantname VARCHAR(50)
                  )
  
              &lt;/sql&gt;
              &lt;rollback&gt;
                  DROP TABLE plant;
              &lt;/rollback&gt;
          &lt;/changeSet&gt;
  
  &lt;/databaseChangeLog&gt;
  </code></pre>
  <p><strong>code for db.changelog-master.xml :</strong></p>
  
  <pre><code>&lt;databaseChangeLog
          xmlns=&quot;http://www.liquibase.org/xml/ns/dbchangelog&quot;
          xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
          xsi:schemaLocation=&quot;http://www.liquibase.org/xml/ns/dbchangelog
                        http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.8.xsd&quot;&gt;
  
      &lt;include file=&quot;/db/changelog/db.changelog-1.0.xml&quot;&gt;&lt;/include&gt;
  
  &lt;/databaseChangeLog&gt;
  </code></pre>
  <p><strong>application properties</strong></p>
  <pre><code>spring.application.name = Cleandrop-Backend
  
  
  spring.datasource.url = jdbc:mysql://localhost:3306/cleandrop?useUnicode=true&amp;userLegacyDatetimeCode=false&amp;serverTimezone=UTC&amp;createDatabaseIfNotExist=true&amp;allowPublicKeyRetrieval=true&amp;useSSL=true
  spring.datasource.username = root
  spring.datasource.password = 1234
  spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
  
  spring.jpa.hibernate.ddl-auto=none
  
  spring.liquibase.change-log=classpath:/db/changelog/db.changelog-master.xml
  
  serverTimeZone=user-defined-time-zone
  </code></pre>
  <p><strong>I also tried to change mysql version still same. How can i solve this?</strong></p>