Hi All,
我最近在服务器编译kafka的时候遇到一个奇怪问题。具体的错误信息是, [ 1318s] A problem occurred configuring root project 'kafka-2.6.0-src'. [ 1318s] > Could not resolve all artifacts for configuration ':classpath'. [ 1318s] > Could not download lucene-analyzers-common-8.5.0.jar (org.apache.lucene:lucene-analyzers-common:8.5.0) [ 1318s] > Could not get resource ' https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-analyzers-comm...'.
[ 1318s] > Read timed out [ 1318s] > Could not download lucene-core-8.5.0.jar (org.apache.lucene:lucene-core:8.5.0) [ 1318s] > Could not get resource ' https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-core/8.5.0/luc...'.
[ 1318s] > Read timed out 据我所知,现在服务器上是可以导入maven packages的。但为什么使用gradle这里就不行呢?我本地编译是没有问题的。大家有没有遇到类似的问题?
谢谢, 浩