Idea中运行flink程序,报错找不到类,其中pom文件中一项依赖为:
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-streaming-java_2.11</artifactId>
<version>${flink.version}</version>
<scope>provided</scope>
</dependency>
解决方法: