You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by David Herzog <hd...@googlemail.com> on 2016/07/04 07:22:11 UTC

Exception but successfully build

Dear Support,

I make small print outs in: org.apache.flink.runtime.jobmanager.Jobmanager
to better understand how it works.
Since building takes up a lot of time run this command to save me some
time.:
mvn package -Dmaven.test.skip=true

After successfully building Flink I try to run:

bin/flink run examples/streaming/SocketTextStreamWordCount.jar \
  --hostname localhost \
  --port 9000

But I sometimes get this Error:

Exception in thread "main" java.lang.Error: Unresolved compilation problem:

    at org.apache.flink.client.CliFrontend.main(CliFrontend.java:1003)

Do you know what could cause this problem? And do you have any tips to save
time for building Flink?

Regards,

David Herzog

Re: Exception but successfully build

Posted by Ufuk Celebi <uc...@apache.org>.
Hey David,
could this be related:
http://stackoverflow.com/questions/1124788/java-unresolved-compilation-problem?
– Ufuk

On Mon, Jul 4, 2016 at 9:22 AM, David Herzog <hd...@googlemail.com> wrote:
> Dear Support,
>
> I make small print outs in: org.apache.flink.runtime.jobmanager.Jobmanager
> to better understand how it works.
> Since building takes up a lot of time run this command to save me some
> time.:
> mvn package -Dmaven.test.skip=true
>
> After successfully building Flink I try to run:
>
> bin/flink run examples/streaming/SocketTextStreamWordCount.jar \
>   --hostname localhost \
>   --port 9000
>
> But I sometimes get this Error:
>
> Exception in thread "main" java.lang.Error: Unresolved compilation problem:
>
>     at org.apache.flink.client.CliFrontend.main(CliFrontend.java:1003)
>
> Do you know what could cause this problem? And do you have any tips to save
> time for building Flink?
>
> Regards,
>
> David Herzog