java.lang.NoSuchMethodError:
org.apache.flink.api.common.ExecutionConfig.setRestartStrategy(Lorg/apache/flink/api/common/restartstrategy/RestartStrategies$RestartStrategyConfiguration;)
at com.WriteIntoKafka.main(WriteIntoKafka.java:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:497)
at org.apache.flink.client.program.PackagedProgram.invokeInteractiveModeForExecution(PackagedProgram.java:395)
at org.apache.flink.client.program.Client.runBlocking(Client.java:252)
at org.apache.flink.client.CliFrontend.executeProgramBlocking(CliFrontend.java:676)
at org.apache.flink.client.CliFrontend.run(CliFrontend.java:326)
at org.apache.flink.client.CliFrontend.parseParameters(CliFrontend.java:978)
at org.apache.flink.client.CliFrontend.main(CliFrontend.java:1028)
-
Im trying to run the the example of flink-streaming ,but it show this issue ,I also run java -jar *** it is fineJary zhen– Jary zhen2016-03-23 08:19:54 +00:00Commented Mar 23, 2016 at 8:19
-
Mind providing the code where the error occurs?António Ribeiro– António Ribeiro2016-03-23 08:25:51 +00:00Commented Mar 23, 2016 at 8:25
-
Possible duplicate of java.lang.NoSuchMethodError in FlinkYaroslav– Yaroslav2017-10-25 12:47:15 +00:00Commented Oct 25, 2017 at 12:47
Add a comment
|