Upgrading to Yellowfin error: String cannot be cast to Date
Resolved
When upgrading, an error is experienced and the upgrade is unable to be completed.
liquibase.exception.LockException: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Date
What is happening and how do I resolve it?
This error occurs when the jTDS Driver is used to connect to a SQL Server Yellowfin Configuration Database.
In order to resolve this upgrade error, you need to change the jTDS Driver to a SQL Server Driver. The ~/ROOT/WEB-INF/web.xml will need to be updated to reference the SQL Driver and Connection string.
Change this:
To this:
And change this:
To this:
If you are still facing issues, please raise a ticket with our Support Team containing a detailed description of your issue, including any relevant screenshots.
Kind regards,
Yellowfin Support Team
Comments have been locked on this page!