无法执行目标org.codehaus.mojo:exec-maven-plugin:1.5.0运行apache beam时窗口化WordCount示例

时间:2017-09-26 06:27:56

标签: apache maven apache-beam

当我尝试使用此命令运行WindowedWordCount示例时:

mvn compile exec:java \
    -Dexec.mainClass=org.apache.beam.examples.WindowedWordCount  \
    -Dexec.args="--inputFile=pom.xml --output=counts" -Pdirect-runner

它会出现以下错误[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:java (default-cli) on project beam-examples-java: An exception occured while executing the Java class. null: InvocationTargetException: java.nio.file.InvalidPathException: Illegal char <:> at index 9: counts-06:40-06:50-3-of-4 -> [Help 1]

注意:我能够成功运行MinimalWordCount示例和WordCount示例。只有在运行DebuggingWordCount示例和WindowedWordCount时才会出现问题。

我想知道是否有人遇到同样的问题以及你是如何解决的。

0 个答案:

没有答案
相关问题