apache/flink-cdc

flinkcdc3 official website operation error

Tangsonghuai opened this issue · 5 comments

My question is below ,please help

When I followed the official website's operating documentation step by step, an error message was reported and I don't know how to solve it

屏幕截图 2024-07-07 103633

then i run this script called bash 'bash flink-cdc.sh mysql-to-doris.yaml'
it goes wrong
java.lang.NoClassDefFoundError: Could not initialize class io.debezium.connector.mysql.MySqlConnectorConfig

The following is the version I use

  1. flink1.18
    2.flinkcdc3.1
    by the way : i follow this doc 'https://nightlies.apache.org/flink/flink-cdc-docs-release-3.1/zh/docs/get-started/quickstart/mysql-to-doris/'

please help!

this server is done! flinkcdc3.0 can work

Has the problem been resolved

mysql-connector-java should be placed to $FLINK_HOME/lib or be passed with CDC --jar argument.

It is preferred to report issues / request new features on GitHub Discussions, Flink JIRA, Apache mailing list, etc. Questions on GitHub issues may not be actively checked, and will be closed without further explanation.