flink 패키지 컴파일 문제

1707 단어 번역 문제Flink
1.9flink를 포장 컴파일할 때 이 문제가 발생했습니다.
[ERROR] 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.9-SNAPSHOT: Failure to find io.confluent:kafka-schema-registry-client:jar:3.3.1 in http://maven.aliyun.com/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus-aliyun has elapsed or updates are forced -> [Help 1]

그리고 가다https://mvnrepository.com다운로드를 검색하세요.발견하다https://maven.ceon.pl/artifactory/repo/io/confluent/kafka-schema-registry-client/3.3.1/크기에 문제가 있다.다음과 같은 오류가 발생했습니다.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project flink-avro-confluent-registry: Compilation failure: Compilation failure:
[ERROR] error reading /Users/AllenBai/.m2/repository/io/confluent/kafka-schema-registry-client/3.3.1/kafka-schema-registry-client-3.3.1.jar; error in opening zip file
[ERROR] error reading /Users/AllenBai/.m2/repository/io/confluent/kafka-schema-registry-client/3.3.1/kafka-schema-registry-client-3.3.1.jar; error in opening zip file

문장을 찾아서 원본을 바꾸다
wget http://packages.confluent.io/maven/io/confluent/kafka-schema-registry-client/3.3.1/kafka-schema-registry-client-3.3.1.jar

 
mvn install:install-file -DgroupId=io.confluent -DartifactId=kafka-schema-registry-client -Dversion=3.3.1 -Dpackaging=jar  -Dfile=/Users/AllenBai/Downloads/kafka-schema-registry-client-3.3.1.jar

번역에 성공할 수 있습니다.
참고 자료:https://blog.csdn.net/qq475781638/article/details/90260202

좋은 웹페이지 즐겨찾기