Maven - 无法下载fastxml.jackson [英] Maven - can't download fasterxml.jackson

查看:860
本文介绍了Maven - 无法下载fastxml.jackson的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在maven pom.xml中:

In maven pom.xml:

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

maven无法下载这3个库,但所有其他库都可以成功下载。

This 3 libs can't be downloaded by maven, but all other libs could be downloaded successfully.

我在不同网络环境中的2台计算机上试过这个,结果是一样的。

I tried this on 2 computer in different network environment, the result is the same.

错误eclipse中的消息:

Missing artifact com.fasterxml.jackson.core:jackson-core:bundle:2.5.0

有关如何检查原因的任何建议吗?

Any suggestion on how to check why?

推荐答案

< type>捆绑< / type> 此处不合适。

尝试:

<dependency>
    <groupId>com.fasterxml.jackson.core</groupId>
    <artifactId>jackson-core</artifactId>
    <version>2.5.0</version>
</dependency>
<dependency>
    <groupId>com.fasterxml.jackson.core</groupId>
    <artifactId>jackson-databind</artifactId>
    <version>2.5.0</version>
</dependency>
<dependency>
    <groupId>com.fasterxml.jackson.core</groupId>
    <artifactId>jackson-annotations</artifactId>
    <version>2.5.0</version>
</dependency>

这篇关于Maven - 无法下载fastxml.jackson的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆