Maven - 尽管 Jackson 存在于中央存储库中,但找不到它吗?

Maven - can't find Jackson artifact in central repository although it exists?

我有一个 pom.xml 具有以下依赖关系:

<dependency>
  <groupId>com.fasterxml.jackson.core</groupId>
  <artifactId>jackson-databind</artifactId>
  <version>2.9.6</version>
  <type>bundle</type>
</dependency>

依赖项存在于 Maven 的中央仓库中: https://search.maven.org/artifact/com.fasterxml.jackson.core/jackson-databind/2.9.6/bundle

但是当(使用 Eclipse)我右键单击我的 pom.xml 文件并选择 Run As -> Maven install,它会下载一堆与该工件相关的依赖项,但完成出现以下错误:

[ERROR] Failed to execute goal on project jackson-json-demo: Could not resolve dependencies for project com.elad:jackson-json-demo:jar:1.0.0: Could not find artifact com.fasterxml.jackson.core:jackson-databind:bundle:2.9.6 in central (https://repo.maven.apache.org/maven2) -> [Help 1]

我尝试了几个其他版本,还从我的本地存储库中删除了依赖项并重试,但没有帮助。可能是什么问题?

从未听说过神器类型bundleHere 一些 有效工件 type 字符串的列表。

只需从依赖块中删除 <type /> 标签,它将默认为 jar