【发布时间】:2020-07-15 01:30:18
【问题描述】:
我对 Kafka 和 maven 还是很陌生。我将 confluentinc (https://github.com/confluentinc/kafka-connect-storage-common) 的官方 repo 中的代码作为 maven 项目导入到 eclipse 中,所有项目都出现以下错误。有一个 Kafka docker 正在与代码相同的文件夹中运行。关于如何解决这个问题的任何想法? 有没有办法在日食中运行它?我需要添加什么类型的依赖项?
Project build error: Non-resolvable parent POM for io.confluent:kafka-connect-storage- common- parent:6.0.0-
SNAPSHOT: Failure to transfer io.confluent:common:pom:6.0.0-SNAPSHOT from ${confluent.maven.repo} was cached in
the local repository, resolution will not be reattempted until the update interval of confluent has elapsed or updates are
forced. Original error: Could not transfer artifact io.confluent:common:pom:6.0.0-SNAPSHOT from/to confluent ($
{confluent.maven.repo}): Cannot access ${confluent.maven.repo} with type default using the available connector
factories: AetherRepositoryConnectorFactory, BasicRepositoryConnectorFactory and 'parent.relativePath' points at
wrong local POM'
【问题讨论】:
标签: java maven apache-kafka confluent-platform