Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] 新版本的 flink-cdc-connectors 的 groupId 被从 com.ververica 修改为 org.apache.flink,某些 Job 代码的静态块或导入,可能报:java.lang.NoClassDefFoundError: Could not initialize class com.ververica.cdc.xxx #358

Open
2 of 3 tasks
PeatBoy opened this issue Apr 3, 2024 · 4 comments

Comments

@PeatBoy
Copy link

PeatBoy commented Apr 3, 2024

Search before asking

  • I had searched in the issues and found no similar issues.

Version

依赖包 Flink-CDC-Connectors 3.0-SNAPSHOT 及以后

What's Wrong?

由于本次 Flink-CDC-Connectors commit
groupId 被从 com.ververica 修改为 org.apache.flink,这会导致部分代码可能出现异常(java.lang.NoClassDefFoundError: Could not initialize class com.ververica.cdc.xxx)

What You Expected?

建议 doris-flink-connector 注意修改依赖

How to Reproduce?

No response

Anything Else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@dataedgehungary
Copy link

same

@PeatBoy
Copy link
Author

PeatBoy commented Apr 9, 2024

same

降低版本

@tchivs
Copy link

tchivs commented Jul 11, 2024

直接改源码把包升级就行了,我fork了一个运行良好

@lingithublearn
Copy link

lingithublearn commented Aug 21, 2024

我用的 1.6.0版本的doris-connector + 3.1.1版本的flink-sql-connector-mysql-cdc,会有这个问题,仔细看pom,发现要降低版本,要用com.ververica 的 2.4.2。 但是降低版本后mysql-cdc 会有比较依赖冲突

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants