Flink 项目运行出现 No ExecutorFactory found to execute the application.错误。
错误的定位是在 env.execute() 这行代码上。
错误的原因是:从 flink1.11.0 版本开始,需要多引入一个 flink-client 包
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-clients_2.12</artifactId>
<version>1.13.0</version>
</dependency>