HappyHacker123 opened a new issue, #6772:
URL: https://github.com/apache/seatunnel/issues/6772

   ### Search before asking
   
   - [X] I had searched in the 
[feature](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22Feature%22)
 and found no similar feature requirement.
   
   
   ### Description
   
   # Problem Description
   Currently, **seatunnel-connectors-v2/connector-cdc/connector-cdc-sqlserver** 
and **seatunnel-connectors-v2/connector-maxcompute**  is encountering 
dependency conflicts. Specifically, they contain classes with the same 
qualified class names in their dependencies as listed below. 
   ```
   Dep org.apache.seatunnel:connector-cdc-sqlserver:2.3.2:
       Pulled in by:   [org.apache.seatunnel:connector-cdc-sqlserver:2.3.2::]
   Dep io.debezium:debezium-connector-sqlserver:1.6.4.Final:
       Pulled in by:   [org.apache.seatunnel:connector-cdc-sqlserver:2.3.2:: -> 
io.debezium:debezium-connector-sqlserver:1.6.4.Final::compile]
   Contains Duplicate Classes: 1
       io.debezium.connector.sqlserver.SqlServerStreamingChangeEventSource
   ----
   Dep org.apache.seatunnel:connector-maxcompute:2.3.2:
       Pulled in by:   [org.apache.seatunnel:connector-maxcompute:2.3.2::]
   Dep com.aliyun.odps:odps-sdk-commons:0.31.3-public:
       Pulled in by:   [org.apache.seatunnel:connector-maxcompute:2.3.2:: -> 
com.aliyun.odps:odps-sdk-core:0.31.3-public::compile -> 
com.aliyun.odps:odps-sdk-commons:0.31.3-public::compile]
   Contains Duplicate Classes: 3
       com.aliyun.odps.type.SimpleMapTypeInfo
       com.aliyun.odps.type.SimpleStructTypeInfo
       com.aliyun.odps.type.SimpleArrayTypeInfo
   ----
   ```
   The behavior of the Java classloader indictates that when multiple classes 
with the same fully qualified name exist on the classpath, **only one** 
instance of the class will be loaded into memory at runtime. This means that 
the classes defined here may actually not be loaded, leading to runtime error 
or semantic conflicts, etc. 
   
   ### Usage Scenario
   
   _No response_
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a 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)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to