我正在尝试运行Apache Flink,但得到的错误作为依赖项不可用。模块flink-streaming-java是否仍然可用。
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-streaming-java</artifactId>
<version>0.10-SNAPSHOT</version>
<scope>test</scope>
<type>test-jar</type>
</dependency>我已经使用了0.9.1和更多的版本,但它们都不起作用。
关于flink-streaming-java https://github.com/apache/flink/blob/master/flink-streaming-java/pom.xml中的进一步检查
找到了-
<!-- disable fork reuse for the streaming project, because of
incorrect declaration of tests -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<reuseForks>false</reuseForks>
</configuration>
</plugin>发布于 2015-11-21 01:48:11
Flink Streaming Java » 0.10.0
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-streaming-java</artifactId>
<version>0.10.0</version>
</dependency>发布于 2018-04-05 23:15:34
https://mvnrepository.com/artifact/org.apache.flink/flink-streaming-java
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-streaming-java_2.11</artifactId>
<version>1.4.2</version>
<scope>provided</scope>
</dependency>https://stackoverflow.com/questions/33259558
复制相似问题