You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Aljoscha Krettek (Jira)" <ji...@apache.org> on 2020/04/27 11:47:00 UTC
[jira] [Closed] (FLINK-5087) Additional steps needed for the Java
quickstart guide
[ https://issues.apache.org/jira/browse/FLINK-5087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aljoscha Krettek closed FLINK-5087.
-----------------------------------
Resolution: Abandoned
Closing this since no-one seems to have complained about this since a couple of years.
> Additional steps needed for the Java quickstart guide
> -----------------------------------------------------
>
> Key: FLINK-5087
> URL: https://issues.apache.org/jira/browse/FLINK-5087
> Project: Flink
> Issue Type: Improvement
> Components: Documentation
> Reporter: Theodore Vasiloudis
> Assignee: yelun
> Priority: Minor
> Labels: docs, starter
>
> While the quickstart guide indicates that you should be able to just run the examples
> from the Maven archetype that was not the case for me, what I got instead was
> ClassNotFound exceptions because the default run configuration does not pull in
> the dependencies as it should.
> What I needed to do to get the examples to run from within the IDE was:
> 1) In project structure, add a new module say "mainRunner"
> 2) In mainRunner's dependencies add the main module (say "quickstart") as a module depency.
> 3) In mainRunner's dependencies add the rest of the project library dependencies.
> 4) In the run configuration for the example change the "Use claspath of module" to mainRunner from quickstart.
> I think we should either include the instructions in the docs, or if possible change the Java quickstart archetype to include the extra module.
> The Scala quickstart has the mainRunner module already, and the appropriate instructions
> on how to run from within IDEA are in the docs.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)