【发布时间】:2015-09-28 14:02:02
【问题描述】:
请注意:有与此类似的问题,但没有什么可以说明这是一个准确的骗局。
我目前有以下 Gradle 依赖项:
dependencies {
compile "com.sun.jersey.contribs:jersey-apache-client4:1.18.1"
compile "com.sun.jersey:jersey-client:1.18.1"
compile "com.sun.jersey:jersey-core:1.18.1"
compile "com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.3.2"
compile "org.apache.httpcomponents:httpclient:4.3.2"
compile "org.slf4j:jcl-over-slf4j:1.7.7"
}
我想将这些升级到 Jersey 的 2.21 版本,但是:
- 现在groupName好像是
org.glassfish.jersey.core而不是com.sun.jersey;和 - Jersey-Client 现在似乎不需要显式声明 Jersey-Core(Jersey-Core 似乎不再作为 JAR 存在)
- Jersey Apache 4 客户端 (
jersey-apache-client4) 似乎不存在于 2.x 领域
所以我问,我的所有 2.21 依赖项应该是什么?最近那个 Jersey/Apache 客户端藏在哪里?
【问题讨论】:
标签: java maven jersey jax-rs pom.xml