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

Stephan Ewen commented on FLINK-1225:
-------------------------------------

You don't need a {{program-class}} entry. A {{Main-Class}} attribute should 
work as well. The program looks for both attributes when it searches for the 
entry point.

> Quickstart does not work
> ------------------------
>
>                 Key: FLINK-1225
>                 URL: https://issues.apache.org/jira/browse/FLINK-1225
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Timo Walther
>         Attachments: quickstart-0.1-flink-fat-jar.jar, quickstart-0.1.jar
>
>
> We tried the quickstart on two PCs with different Flink versions 
> (0.8-SNAPSHOT and 0.7), but if we submit the generated Jar-File in the web 
> interface the error always is:
> {code}
> Neither a 'Main-Class', nor a 'program-class' entry was found in the jar file.
> org.apache.flink.client.program.ProgramInvocationException: Neither a 
> 'Main-Class', nor a 'program-class' entry was found in the jar file.
> at 
> org.apache.flink.client.program.PackagedProgram.getEntryPointClassNameFromJar(PackagedProgram.java:453)
>       at 
> org.apache.flink.client.program.PackagedProgram.(PackagedProgram.java:133)
> {code}
> Something is wrong with the pom.xml's, but I was unable to figure it out.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to