songbin created FLINK-40004:
-------------------------------
Summary: Flink 1.20.x with jdbc-connector 3.3.0 fails to create
Catalog due to multiple 'jdbc' CatalogFactory implementations in classpath
Key: FLINK-40004
URL: https://issues.apache.org/jira/browse/FLINK-40004
Project: Flink
Issue Type: Bug
Components: Connectors / JDBC
Affects Versions: 1.20.3
Reporter: songbin
Attachments: image-2026-06-29-10-29-28-681.png,
image-2026-06-29-10-30-48-889.png
Flink version 1.20.x uses flink-connector-jdbc-3.3.0-1.20 to create catalog,
and an error is reported: Could not execute SQL statement. Reason:
org-apache.flink. table.api.ValidationException: Multiple factories for
identifier 'jdbc' that implement
'org-apache.flink.table.factories.CatalogFactory' found in the classpath.
!image-2026-06-29-10-29-28-681.png!
The conflict arose because there were two entries with the identifier 'jdbc' in
the META-INF/services/org.apache.flink.table.factories.Factory file during
packaging. It is recommended to remove
org.apache.flink.connector.jdbc.catalog.factory.JdbcCatalogFactory during
packaging.
!image-2026-06-29-10-30-48-889.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)