You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "David Anderson (JIRA)" <ji...@apache.org> on 2018/07/27 08:16:00 UTC

[jira] [Created] (FLINK-9980) wiki-edits quickstart example fails when run outside of IDE

David Anderson created FLINK-9980:
-------------------------------------

             Summary: wiki-edits quickstart example fails when run outside of IDE
                 Key: FLINK-9980
                 URL: https://issues.apache.org/jira/browse/FLINK-9980
             Project: Flink
          Issue Type: Bug
          Components: Examples
    Affects Versions: 1.5.1
            Reporter: David Anderson
             Fix For: 1.6.0


Following the instructions in the docs, I find that this example runs in intellij, but when run from the command line as instructed

{{mvn exec:java -Dexec.mainClass=wikiedits.WikipediaAnalysis}}

it fails with 

{{java.lang.NoClassDefFoundError: org/apache/flink/streaming/api/functions/source/SourceFunction}}

I discovered this when trying to reproduce a problem reported on stack overflow: [https://stackoverflow.com/questions/51550479/caused-by-java-io-ioexception-unable-to-serialize-default-value-of-type-tuple2]

That user is getting a different runtime error.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)