Maven – 无法下载fastxml.jackson
在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
关于如何检查原因的任何建议?
在这里不合适。
试试:
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
另一种解决方法是编辑属性并选择’jar’而不是’bundle’,参见下面的示例,
如果maven无法下载,这将解决此问题。