一.出现报错
Error:(23, 41) could not find implicit value for evidence parameter of type org.apache.flink.api.common.typeinfo.TypeInformation[String]
val wordcount = inputDataSet.flatMap(_.split(" "))
翻译:
错误:(23,41)找不到类型为org.apache.flink.api.common.typeinfo.TypeInformation
[String]的证据参数的隐含值
二.解决办法
导入下面包即可:
import org.apache.flink.api.scala._