flink Stream NoSuchMethodError: org.apache.flink.api.common.



java.lang.NoSuchMethodError:

org.apache.flink.api.common.ExecutionConfig.setRestartStrategy(Lorg/apache/flink/api/common/restartstrategy/RestartStrategies$RestartStrategyConfiguration;)
网址:com.WriteIntoKafka.main(WriteIntoKafka.java:53)
位于sun.reflect.NativeMethodAccessorImpl.invoke0(本机方法)
位于sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
在sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
位于java.lang.reflect.Method.ioke(Method.java:606)
网址:org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:497)
网址:org.apache.flink.client.program.PackagedProgram.invokeInteractiveModeForExecution(PackagedProgram.java:395)
网址:org.apache.flink.client.program.client.runBlocking(client.java:252)
网址:org.apache.flink.client.CliFrontend.executeProgramBlocking(CliFrontend.java:676)
网址:org.apache.flink.client.CliFrontend.run(CliFrontend.java:326)
网址:org.apache.flink.client.CliFrontend.parseParameters(CliFrontend.java:978)
网址:org.apache.flink.client.CliFrontend.main(CliFrontend.java:1028)

NoSuchMethodError通常表示不兼容的版本。请检查Flink程序和正在运行的Flink实例的版本是否相同。

相关内容

  • 没有找到相关文章

最新更新