apache / flink-cdc

Flink CDC is a streaming data integration tool
https://nightlies.apache.org/flink/flink-cdc-docs-stable
Apache License 2.0
5.5k stars 1.85k forks source link

flinkcdc3 official website operation error #3457

Closed Tangsonghuai closed 1 week ago

Tangsonghuai commented 1 week ago

My question is below ,please help

Tangsonghuai commented 1 week ago

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!

Tangsonghuai commented 1 week ago

this server is done! flinkcdc3.0 can work

open617 commented 6 days ago

Has the problem been resolved

yuxiqian commented 6 days ago

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.

open617 commented 5 days ago

thank

------------------ 原始邮件 ------------------ 发件人: "apache/flink-cdc" @.>; 发送时间: 2024年7月11日(星期四) 下午5:03 @.>; @.**@.>; 主题: Re: [apache/flink-cdc] flinkcdc3 official website operation error (Issue #3457)

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.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>