Java org.codehaus.jackson 与 com.fasterxml.jackson.core

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/30782706/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-11 10:09:38  来源:igfitidea点击:

org.codehaus.Hymanson versus com.fasterxml.Hymanson.core

javajsonHymanson

提问by Aniruddh Joshi

Are org.codehaus.Hymanson and com.fasterxml.Hymanson.core related? I have

org.codehaus.Hymanson 和 com.fasterxml.Hymanson.core 是否相关?我有

org.codehaus.Hymanson Hymanson-all version 1.7.2

org.codehaus.Hymanson Hymanson-all 版本 1.7.2

and

com.fasterxml.Hymanson.core > Hymanson-databind version 2.4.3

com.fasterxml.Hymanson.core > Hymanson-databind 版本 2.4.3

in my pom. I am not sure if they are redundant and can conflict.

在我的 pom. 我不确定它们是否是多余的并且会发生冲突。

回答by Mena

org.codehaus.Hymansonis an older version of Hymanson.

org.codehaus.Hymanson是Hyman逊的旧版本。

com.fasterxml.Hymansonrepresents the new project and package.

com.fasterxml.Hymanson代表新项目和包。

The reason is, Hymanson has moved from Codehaus to Github when releasing Hymanson 2.

原因是,Hymanson 在发布 Hymanson 2 时已经从 Codehaus 转移到了 Github。

See herefor details.

有关详细信息,请参见此处

I would recommend removing org.codehaus.Hymansonreferences from your POM, re-building and looking for errors (not likely but possible).

我建议org.codehaus.Hymanson从您的 POM 中删除引用,重新构建并查找错误(不太可能但可能)。

If you find any, you can adapt the code using deprecated API to the newer Hymanson version's API.

如果您找到了,您可以使用已弃用的 API 将代码调整为较新的 Hymanson 版本的 API。