Caused by: org.apache.flink.table.api.NoMatchingTableFactoryException: Could not find a suitable table factory for 'org.apache.flink.table.factories.DeserializationSchemaFactory' in
the classpath.
Reason: No factory implements 'org.apache.flink.table.factories.DeserializationSchemaFactory'.
flink在運行DDL語句的時候如果沒有引入相關的Formats依賴,則會報這個錯。官網上貼出的相關依賴如下:
去倉庫中找對應的依賴加到自己的pom中即可。