gaojun121381 opened a new issue, #4028:
URL: https://github.com/apache/incubator-streampark/issues/4028

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-streampark/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### Java Version
   
   1.78
   
   ### Scala Version
   
   2.11.x
   
   ### StreamPark Version
   
   2.1.4
   
   ### Flink Version
   
   1.13.5
   
   ### deploy mode
   
   yarn-session
   
   ### What happened
   
   Caused by: java.lang.LinkageError: loader constraint violation: when 
resolving interface method 
"org.apache.flink.connector.kafka.source.enumerator.initializer.OffsetsInitializer.committedOffsets(Lorg/apache/kafka/clients/consumer/OffsetResetStrategy;)Lorg/apache/flink/connector/kafka/source/enumerator/initializer/OffsetsInitializer;"
 the class loader (instance of org/apache/flink/util/ChildFirstClassLoader) of 
the current class, com/yzc/bigdata/flink/monitor/task/CompanyBehaviorCountTask, 
and the class loader (instance of 
org/apache/streampark/flink/proxy/ChildFirstClassLoader) for the method's 
defining class, 
org/apache/flink/connector/kafka/source/enumerator/initializer/OffsetsInitializer,
 have different Class objects for the type 
org/apache/kafka/clients/consumer/OffsetResetStrategy used in the signature
   
   ### Error Exception
   
   ```log
   Caused by: java.lang.LinkageError: loader constraint violation: when 
resolving interface method 
"org.apache.flink.connector.kafka.source.enumerator.initializer.OffsetsInitializer.committedOffsets(Lorg/apache/kafka/clients/consumer/OffsetResetStrategy;)Lorg/apache/flink/connector/kafka/source/enumerator/initializer/OffsetsInitializer;"
 the class loader (instance of org/apache/flink/util/ChildFirstClassLoader) of 
the current class, com/yzc/bigdata/flink/monitor/task/CompanyBehaviorCountTask, 
and the class loader (instance of 
org/apache/streampark/flink/proxy/ChildFirstClassLoader) for the method's 
defining class, 
org/apache/flink/connector/kafka/source/enumerator/initializer/OffsetsInitializer,
 have different Class objects for the type 
org/apache/kafka/clients/consumer/OffsetResetStrategy used in the signature
   ```
   
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!(您是否要贡献这个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