You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Till Rohrmann (Jira)" <ji...@apache.org> on 2020/04/01 09:58:00 UTC

[jira] [Commented] (FLINK-16834) Examples cannot be run from IDE

    [ https://issues.apache.org/jira/browse/FLINK-16834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17072601#comment-17072601 ] 

Till Rohrmann commented on FLINK-16834:
---------------------------------------

Thanks for this pointer [~alpinegizmo]. I think the problem of the SO question is not caused by this problem but because we set the Flink dependencies to {{provided}}. There is an easy solution to this problem by activating the {{add-dependencies-for-IDEA}} profile.

> Examples cannot be run from IDE
> -------------------------------
>
>                 Key: FLINK-16834
>                 URL: https://issues.apache.org/jira/browse/FLINK-16834
>             Project: Flink
>          Issue Type: Bug
>          Components: Client / Job Submission, Examples
>    Affects Versions: 1.11.0
>            Reporter: Till Rohrmann
>            Assignee: Till Rohrmann
>            Priority: Critical
>              Labels: pull-request-available
>             Fix For: 1.11.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Due to removing the dependency {{flink-clients}} from {{flink-streaming-java}}, the examples can no longer be executed from the IDE. The problem is that the {{flink-clients}} dependency is missing.
> In order to solve this problem, we need to add the {{flink-clients}} dependency to all modules which need it and previously obtained it transitively from {{flink-streaming-java}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)