You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "xuyang (Jira)" <ji...@apache.org> on 2022/08/23 06:04:00 UTC

[jira] [Created] (FLINK-29074) use 'add jar' in sql client throws "Could not find any jdbc dialect factories that implement"

xuyang created FLINK-29074:
------------------------------

             Summary: use 'add jar' in sql client throws "Could not find any jdbc dialect factories that implement"
                 Key: FLINK-29074
                 URL: https://issues.apache.org/jira/browse/FLINK-29074
             Project: Flink
          Issue Type: Bug
          Components: Table SQL / Planner
    Affects Versions: 1.16.0
            Reporter: xuyang


The following step can reproduce this bug:

1、 create a source table 't1' in sql-client using jdbc(mysql)

2、add a jar with jdbc connector

3、select * from 't1'

then an exception throws:

java.lang.IllegalStateException: Could not find any jdbc dialect factories that implement 'org.apache.flink.connector.jdbc.dialect.JdbcDialectFactory' in the classpath.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)