程序在IDEA中没有报错,但是在编译后报错
Error:(32, 38) could not find implicit value for evidence parameter of type org.apache.flink.api.common.typeinfo.TypeInformation[com.zhongan.bigdatalab.PageRank.Page]
Error occurred in an application involving default arguments.
val pages = env.readCsvFile[Page](pagesInputPath)
Error:(56, 46) could not find implicit value for evidence parameter of type org.apache.flink.api.common.typeinfo.TypeInformation[org.apache.flink.types.Row]
导入 flink的隐式转换
import org.apache.flink.api.scala._
That is where the implicit TypeInformations all reside