Need Help: jars Conflict #410
-
When i try to implement jersey client in one of existing project , getting conflict with one of existing jars. (jaxws-rt-2.2.8-promoted-b146.jar) getting below error... any idea how to fix this? May 26, 2021 6:21:55 PM com.sun.xml.ws.transport.http.servlet.WSServletDelegate |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 7 replies
-
Could you look up the javax.ws.rs.core.Response class and find out which jar it is coming from and let me know and I hope I can help? Specifically which dependency and which version so I can grab it from Maven Central and check it out? |
Beta Was this translation helpful? Give feedback.
-
Heya - which approach are you using? Did you fork the Jersey SDK? Its
probably better if we tackle this in a proper Github repo for you - get a
Jersey 1 compliant SDK?
…On Fri, May 28, 2021 at 1:24 AM pontamilselvan ***@***.***> wrote:
got another conflict :(
May 27, 2021 9:10:36 AM com.sun.xml.ws.server.sei.TieHandler createResponse
SEVERE:
javax.ws.rs.core.UriBuilder.uri(Ljava/lang/String;)Ljavax/ws/rs/core/UriBuilder;
java.lang.AbstractMethodError:
javax.ws.rs.core.UriBuilder.uri(Ljava/lang/String;)Ljavax/ws/rs/core/UriBuilder;
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:96)
at org.glassfish.jersey.client.JerseyWebTarget.(JerseyWebTarget.java:48)
at org.glassfish.jersey.client.JerseyClient.target(JerseyClient.java:320)
at org.glassfish.jersey.client.JerseyClient.target(JerseyClient.java:56)
at
io.featurehub.client.jersey.JerseyClient.makeEventSourceTarget(JerseyClient.java:78)
at io.featurehub.client.jersey.JerseyClient.(JerseyClient.java:54)
at io.featurehub.client.jersey.JerseyClient.(JerseyClient.java:43)
i am seeing UriBuilder in below tow jars
jersey-common-2.28.jar
jakarta.ws.rs-api-2.1.5.jar
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#410 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAANTWHKA75FDO35VNQEBXDTPZBZ7ANCNFSM45S7VP3Q>
.
--
---
Richard Vowles,
Full stack - from Kubernetes, through Node & Java, Web and Mobile
development in Flutter - software developer for hire!
ph: +64275467747
|
Beta Was this translation helpful? Give feedback.
-
I'm sorry to say that Jersey 1 does not actually support Server Sent Events, so I can't build you a client using Jersey 1 that supports it. I will need to enhance the OKHttp one to support it for you instead. |
Beta Was this translation helpful? Give feedback.
-
Hi @pontamilselvan I presume you no longer require this? |
Beta Was this translation helpful? Give feedback.
Could you look up the javax.ws.rs.core.Response class and find out which jar it is coming from and let me know and I hope I can help? Specifically which dependency and which version so I can grab it from Maven Central and check it out?