[Bug] [connector][mongodb] 缺少依赖包
envgap__DTStack__chunjun-1811
01 / FAILURE SIGNATURE
As reported upstream
Caused by: java.lang.NoClassDefFoundError: com/mongodb/AuthenticationMechanism
Not a benchmark task.
- In a clean container the reported failure did not reproduce, or the known fix did not make the project run.
02 / ENVIRONMENT RECIPE
- Base commit
2fb49674429305e95a84ddfdc53b46410b30b4bc- Manifest
chunjun-connectors/chunjun-connector-mongodb/pom.xml- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
DTStack/chunjun #1811 · read the original issue
### Search before asking - [X] I had searched in the [issues](https://github.com/DTStack/chunjun/issues) and found no similar issues. ### What happened 当在yarn-pre-job sql模式执行从mongodb导出数据到其它数据源时找不到依赖异常。 ``` Caused by: java.lang.NoClassDefFoundError: com/mongodb/AuthenticationMechanism at com.dtstack.chunjun.connector.mongodb.config.MongoClientConfig.<init>(MongoClientConfig.java:39) at com.dtstack.chunjun.connector.mongodb.table.MongodbDynamicTableFactory.createDynamicTableSource(MongodbDynamicTableFactory.java:66) at org.apache.flink.table.factories.FactoryUtil.createDynamicTableSource(FactoryUtil.java:163) ... 58 more Caused by: java.lang.ClassNotFoundException: com.mongodb.AuthenticationMechanism at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ``` ### What you expected to happen -- ### How to reproduce -- ### Anything else _No response_ ### Version master ### Are you willing to submit PR? - [X] 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)
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]