---
title: 编译Flink时出现缺少依赖的第三方JAR包kafka-schema-registry-client-3.3.1.jar的解决方法
description: "编译Flink时提示以下信息。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengbds/ecosystemEnable/Flink/kunpengflink191_02_0011.html
sourcePath: /source/zh/kunpengbds/ecosystemEnable/Flink/kunpengflink191_02_0011.html
indexId: 96e1583d4e203ec8104034543913e89d5d3119757a44035a9fad1eb8e9e3fce472
---
# 编译Flink时出现缺少依赖的第三方JAR包kafka-schema-registry-client-3.3.1.jar的解决方法

#### 问题现象描述

编译Flink时提示以下信息。

```
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/)
```


#### 关键过程、根本原因分析

缺少依赖的第三方JAR包kafka-schema-registry-client-3.3.1.jar。


#### 结论、解决方案及效果

下载kafka-schema-registry-client-3.3.1.jar(https://packages.confluent.io/maven/io/confluent/kafka-schema-registry-client/3.3.1/kafka-schema-registry-client-3.3.1.jar)，保存到Maven仓库或者本地缓存库“*/.m2/repository/io/confluent/kafka-schema-registry-client/3.3.1”目录下，重新编译Flink。
