我在 Maven 中看到的 resteasy-jaxrs
的最后一个版本是 3.8.1。当尝试将 resteasy-client
升级到 4.2.0 时,存在对 resteasy-jaxrs:4.2.0
的依赖:
org.jboss.resteasy.plugins.providers.RegisterBuiltin.getClientInitializedResteasyProviderFactory
。
此依赖项未在 pom
中列出,也未在我能看到的任何地方发布...我唯一看到的是 resteasy-jaxrs-all
其中的 jars
比我想要的多得多。
难道我们不应该再使用 resteasy-jaxrs
包了吗?
最佳答案
在RESTEasy 4 is coming soon博客文章,他们解释说:
esteasy-jaxrs
andresteasy-client
modules have been split intoresteasy-core-spi
,resteasy-client-api
,resteasy-core
andresteasy-client
, with the first and second ones to be considered as public modules.
但 resteasy-jaxrs
仍在文档中,即使在 2019-12-19 发布的 4.4.2.Final 中完成了一些修复。
我的项目在切换到 resteasy-core-spi
或 resteasy-core
后构建得很好。
关于jboss - 为什么没有 4.2.0 版本的 maven resteasy-jaxrs 包?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57598426/