一、Exception in thread "main" java.lang.IllegalStateException: No ExecutorFactory found to execute the application.
添加 flink-client客户端
<dependency> <groupId>org.apache.flink</groupId> <artifactId>flink-clients_2.12</artifactId> <version>1.12.0</version> </dependency>
二、java.lang.ClassNotFoundException: org.apache.flink.api.common.typeinfo.TypeInformation
按装的scala版本要和pom文件的scala版本一致 2.11
<dependency> <groupId>org.apache.flink</groupId> <artifactId>flink-streaming-scala_2.11</artifactId> <version>1.12.0</version> <scope>provided</scope> </dependency>
以及加大范围的选择