eclipse-ee4j / eclipse-ee4j/jersey

jersey-client + jersey-jetty-connector: javax.ws.rs.ProcessingException: Found interface org.eclipse.jetty.http.HttpFields, but class was expected

Open
#5,468 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
730
Forks
382
PR merge metrics
No merged PRs in 30d

Description

When jersey-client and jersey-jetty-connector v2.41 is used with jetty-client v10.0.18, we get the following exception

```
javax.ws.rs.ProcessingException: Found interface org.eclipse.jetty.http.HttpFields, but class was expected
org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:312)
org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$1(JerseyInvocation.java:675)
org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:697)
org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:691)
org.glassfish.jersey.internal.Errors.process(Errors.java:292)
org.glassfish.jersey.internal.Errors.process(Errors.java:274)
org.glassfish.jersey.internal.Errors.process(Errors.java:205)
org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:691)
org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:674)
org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:450)
org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:351)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.