作者:安仔小窝forever | 来源:互联网 | 2023-05-25 19:59
在maven pom.xml中:
com.fasterxml.jackson.core
jackson-core
2.5.0
bundle
com.fasterxml.jackson.core
jackson-databind
2.5.0
bundle
com.fasterxml.jackson.core
jackson-annotations
2.5.0
bundle
maven无法下载这3个库,但可以成功下载所有其他库.
我在不同网络环境下的2台计算机上试过这个,结果是一样的.
eclipse中的错误消息:
Missing artifact com.fasterxml.jackson.core:jackson-core:bundle:2.5.0
关于如何检查原因的任何建议?
1> Arnaud Denoy..:
bundle
这里不合适.
试试:
com.fasterxml.jackson.core
jackson-core
2.5.0
com.fasterxml.jackson.core
jackson-databind
2.5.0
com.fasterxml.jackson.core
jackson-annotations
2.5.0
删除该行后它工作.
我想知道什么时候搜索maven为什么版本2.5.0,它只提供bundle选项,而不是单jar选项,这是我犯错误的主要原因.