[英]org.codehaus.jackson versus com.fasterxml.jackson.core
Are org.codehaus.jackson
and com.fasterxml.jackson.core
related? org.codehaus.jackson
和com.fasterxml.jackson.core
是否相关? I have我有
org.codehaus.jackson jackson-all version 1.7.2
org.codehaus.jackson jackson-all 版本 1.7.2
and和
com.fasterxml.jackson.core > jackson-databind version 2.4.3
com.fasterxml.jackson.core > jackson-databind 版本 2.4.3
in my pom.xml
.在我的
pom.xml
。 I am not sure if they are redundant and can conflict.我不确定它们是否是多余的并且会发生冲突。
org.codehaus.jackson
is an older version of Jackson. org.codehaus.jackson
是 Jackson 的旧版本。
com.fasterxml.jackson
represents the new project and package. com.fasterxml.jackson
代表新项目和包。
The reason is, Jackson has moved from Codehaus to Github when releasing Jackson 2.原因是,Jackson 在发布 Jackson 2 时已经从 Codehaus 转移到了 Github。
See here for details.有关详细信息,请参见此处。
I would recommend removing org.codehaus.jackson
references from your POM, re-building and looking for errors (not likely but possible).我建议从 POM 中删除
org.codehaus.jackson
引用,重新构建并查找错误(不太可能但可能)。
If you find any, you can adapt the code using deprecated API to the newer Jackson version's API.如果您找到了,您可以使用已弃用的 API 将代码调整为较新的 Jackson 版本的 API。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.