You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Shengkai Fang (Jira)" <ji...@apache.org> on 2022/10/25 01:44:00 UTC

[jira] [Closed] (FLINK-28914) Could not find any factories that implement

     [ https://issues.apache.org/jira/browse/FLINK-28914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shengkai Fang closed FLINK-28914.
---------------------------------
    Resolution: Fixed

> Could not find any factories that implement
> -------------------------------------------
>
>                 Key: FLINK-28914
>                 URL: https://issues.apache.org/jira/browse/FLINK-28914
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Gateway
>    Affects Versions: 1.16.0
>            Reporter: Dongming WU
>            Priority: Major
>             Fix For: 1.17.0
>
>
> 2022-08-11 11:09:53,135 ERROR org.apache.flink.table.gateway.SqlGateway                    [] - Failed to start the endpoints.
> org.apache.flink.table.api.ValidationException: Could not find any factories that implement 'org.apache.flink.table.gateway.api.endpoint.SqlGatewayEndpointFactory' in the classpath.
> -----------------------------------------------------
> I packaged Flink-Master and tried to start sql-gateway, but some problems arise.
> I found tow problem with Factory under resources of flink-sql-gateway module.
> META-INF.services should not be a folder name, ti should be ... /META-INF/services/... 
> The 
> `` org.apache.flink.table.gateway.rest.SqlGatewayRestEndpointFactory ``  in the org.apache.flink.table.factories.Factory file should be 
> ``  org.apache.flink.table.gateway.rest.util.SqlGatewayRestEndpointFactory `` . 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)