i have problem flink
java.lang.nosuchmethoderror: org.apache.flink.api.java.typeutils.objectarraytypeinfo.getinfofor(lorg/apache/flink/api/common/typeinfo/typeinformation;)lorg/apache/flink/api/java/typeutils/objectarraytypeinfo; @ lowlevel.flinkimplementation.flinkimplementation$$anon$6.<init>(flinkimplementation.scala:28) @ lowlevel.flinkimplementation.flinkimplementation.<init>(flinkimplementation.scala:28) @ irlogic.gmqlserver.<init>(gmqlserver.scala:15) @ it.polimi.app$.main(app.scala:20) @ it.polimi.app.main(app.scala) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) ...
the line problem 1
implicit val regiontypeinformation = api.scala.createtypeinformation[flinkdatatypes.flinkregiontype]
in flinkregiontype
have array
of custom object
i developed app maven plugin in ide , working good, when move version downloaded website error above
i using flink 0.9
i thinking library may missing using maven handling everything. running through code of objectarraytypeinfo.java doesn't seem problem
a nosuchmethoderror
commonly indicates version mismatch between libraries flink program compiled , system program executed on. if same code works in ide setup compile , execution libraries same.
in such case, should check version of flink dependencies, example in maven pom file.
Comments
Post a Comment