apache / apache/doris-flink-connector

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

Open
#358 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
385
Forks
279
Avg merge
2d 2h
Merged PRs (30d)
6

Description

### Search before asking

- [X] I had searched in the [issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and found no similar issues.

### Version

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

### What's Wrong?

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

### What You Expected?

建议 [doris-flink-connector](https://github.com/apache/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

- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)

Contributor guide

Open the contributing guide

Research direction

Start with the doris-flink-connector dependency declarations and compare them with the referenced Flink CDC commit. Trace usages of the old com.ververica.cdc coordinates and verify the connector builds and affected static imports initialize with Flink-CDC-Connectors 3.0-SNAPSHOT or later.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
data-engineering
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.