我要评分
获取效率
正确性
完整性
易理解

Dependency JAR Package kafka-schema-registry-client-3.3.1.jar Missing During Flink Compilation

Symptom

An error is reported during Flink compilation:

1
Failed to execute goal on project flink-avro-confluent-registry: Could not resolve dependencies for project org.apache.flink:flink-avro-confluent-registry:jar:1.8.1: Could not find artifact io.confluent:kafka-schema-registry-client:jar:3.3.1 in big (http://10.93.238.51/maven/)

Key Process and Cause Analysis

The dependency third-party JAR package kafka-schema-registry-client-3.3.1.jar is missing.

Conclusion and Solution

Download the available kafka-schema-registry-client-3.3.1.jar package to the Maven repository or the */.m2/repository/io/confluent/kafka-schema-registry-client/3.3.1 directory of the local cache library, and compile Flink again.