Search code examples
javamavenapache-flinkflink-sql

Missing artifact org.apache.flink:flink-table:jar:1.10.1


I am trying to add Flink Table dependency in my POM.xml file and the following is the dependency.

<dependency>
   <groupId>org.apache.flink</groupId>
   <artifactId>flink-table</artifactId>
   <version>1.10.1</version>
</dependency>

This throws the error Missing artifact org.apache.flink:flink-table:jar:1.10.1

My flink version is 1.10.1 I took this dependency from here

And I have also looked at the official documents regarding Table API & SQL setup from here which also did't work.


Solution

  • If you are using IntelliJ you can try File->Invalidate Caches/Restart. Sometimes it happens if downloaded dependencies are corrupted