[ https://issues.apache.org/jira/browse/FLINK-31378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17698718#comment-17698718 ]
Hongshun Wang commented on FLINK-31378: --------------------------------------- Ok, [~xzw0223] , you just write any table api programs or stream programs (flink version is 1.16.0) without flink-clients dependency, then run by simply executing the main class rather than flink cluster. The problem can reproduce. In fact, it's not a problem or bug , just information lacks in official tutorials. > Documentation fails to build due to lack of package > --------------------------------------------------- > > Key: FLINK-31378 > URL: https://issues.apache.org/jira/browse/FLINK-31378 > Project: Flink > Issue Type: Improvement > Components: Documentation > Reporter: Hongshun Wang > Priority: Not a Priority > Attachments: image-2023-03-10-11-19-35-773.png > > > In [Project Configuration > Section|[https://nightlies.apache.org/flink/flink-docs-release-1.16/docs/dev/configuration/overview/#running-and-packaging],] > it shows that "If you want to run your job by simply executing the main > class, you will need {{flink-runtime}} in your classpath". > However, when I just add flink-runtime in my classPath, an error is thrown > like this:" > No ExecutorFactory found to execute the application". > It seems that flink-clients is also needed to supply an excutor through Java > Service Load. > Could you please add this in official article for beginners like me? > -- This message was sent by Atlassian Jira (v8.20.10#820010)