NoSuchMethodError:org.apache.flink.streaming.connectors.kafka.internal.KafkaConsumerThread
时间: 2023-11-04 07:04:31 浏览: 339
引用\[1\]中提到了一个异常信息:NoSuchMethodError: org.apache.flink.streaming.connectors.kafka.internal.KafkaConsumerThread。这个异常通常是由于版本不兼容引起的。引用\[3\]中提到了一种解决方法,即尝试替换flink-connector-kafka-0.11_2.11版本为原来的1.10.0,并升级其他相关的包。你可以尝试按照这个方法来解决该异常。
#### 引用[.reference_title]
- *1* [java.lang.NoSuchMethodError: org.apache.kafka.clients.consumer.KafkaConsumer.assign(Ljava/util/List](https://blog.csdn.net/Sakura555/article/details/100568356)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [Flink 实战问题(八):NoSuchMethodError: org.apache.kafka.clients.producer.KafkaProducer.close](https://blog.csdn.net/congcong68/article/details/127331030)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [NoSuchMethodError: org.apache.flink.api.common.state.OperatorStateStore.getSerializableListState](https://blog.csdn.net/u013303975/article/details/128715937)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文