标签:enc min pom.xml XML pen 51cto group http 流计算
异常描述:分析,正常阿里云的流计算引用的jar包只有3个flink-table,flink-core,flinkstreaming-java三个
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-table_2.11</artifactId>
<version>blink-2.11-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-core</artifactId>
<version>blink-2.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-streaming-java_2.11</artifactId>
<version>blink-2.11-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
缺少一个jar包的引用就会报这个异常
pom.xml加上
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-streaming-kafka_2.11</artifactId>
<version>1.6.3</version>
</dependency>
后maven从新加载资源
标签:enc min pom.xml XML pen 51cto group http 流计算
原文地址:http://blog.51cto.com/13184837/2318684