I am getting an error org.springframework.amqp.rabbit.listener.exception.ListenerExecutionFailedException: Listener threw exception caused by org.springframework.dao.InvalidDataAccessApiUsageException: Incompartible types found. Expected class java.lang.String for descriptionAbstract with name *_description_abstract, but found class java.util.ArrayList; nested exception is java.lang.IllegalArgumentException: Incompartible types found. Expected class java.lang.String for descriptionAbstract with name *_description_abstract, but found class java.util.ArrayList
But I have descriptionAbstract as String
package com.myproject.platform.model;
import java.util.List;
import com.myproject.constant.DocumentStatus;
import com.google.gson.annotations.SerializedName;
public class DocumentDto {
    @SerializedName("document_id")
    private String documentId;
    @SerializedName("description_abstract")
    private String descriptionAbstract;
    public DocumentDto() {
    }
    public String getDocumentId() {
        return documentId;
    }
    public String getDescriptionAbstract() {
        return descriptionAbstract;
    }
    public static class Builder {
        private String documentId;
        private String descriptionAbstract;
        public Builder documentId(String documentId) {
            this.documentId = documentId;
            return this;
        }
        public Builder descriptionAbstract(String descriptionAbstract) {
            this.descriptionAbstract = descriptionAbstract;
            return this;
        }
        public DocumentDto build() {
            return new DocumentDto(this);
        }
    }
    private DocumentDto(Builder builder) {
        this.documentId = builder.documentId;
        this.descriptionAbstract = builder.descriptionAbstract;
    }
}
If someone can point out what the issue is or need other files to see please let me know
 
    