Description
When starting Tomcat with mysql-connector-java version 8.0.23 or later, the following errors can occur:
- Change log lock is acquired and released repeatedly
- "Error creating bean" for many named items
- NoSuchBeanDefinitionException
- BeanCreationException
- ClassCastException
This issue is a result of a change made in MySQL Connector/J 8.0.23. The release notes state the following relevant change:
"a getObject(columnIndex) call on a DATETIME column returns a LocalDateTime object now instead of a String. To receive a String like before, use getObject(columnIndex, String.class) instead."
This change is causing liquibase to fail. Please refer to the following link for more details:
"Support drivers that return a LocalDateTime for dates"
https://github.com/liquibase/liquibase/pull/1664
This issue is being tracked under Issue# SCA-32509.
Workaround
- Replace the mysql-connector-java-8.0.23.jar file under <CODEINSIGHT_INSTALL_DIR>/tomcat/lib with mysql-connector-java version 8.0.22 or earlier.
- Restart Tomcat
Resolution
Code Insight 2021 R3 and onward will support MySQL Connector/J versions 8.0.23 and later. Code Insight 2021 R2 and older will only support MySQL Connector/J versions up to 8.0.22.
Related Articles
Download InstallAnywhere 2011 and Later Versions 5Number of Views Update the Flexera Terraform provider to the latest version 4Number of Views Generating InstallAnywhere Log for Install, Uninstall, and Build in InstallAnywhere 2011 And Later 8Number of Views InstallShield Prerequisites for .NET Framework 3.5 SP1 on Windows 7 and Later, Windows Server 2008 R2 and Later 7Number of Views Application Startup Takes Longer on the First Startup After Upgrading to 2026 R3 12Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add additional feedback (optional)
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
|
FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513
(toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367
(toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895
2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago