eclipse-ee4j / eclipse-ee4j/jersey

java.lang.AbstractMethodError: org.glassfish.jersey.client.JerseyInvocation$Builder.rx(Ljava/lang/Class;)Ljavax/ws/rs/client/RxInvoker

Open
#3,533 4 comments 0 reactions 0 assignees View on GitHub
Component: core Priority: Major Type: Bug
Dominant language
Java
Stars
730
Forks
382
PR merge metrics
No merged PRs in 30d

Description

Trying the run the following simple main method and getting AbstractMethodError exception.

```
public static void main(String[] args) {

WebTarget target = ClientBuilder.newClient().register(RxFlowableInvokerProvider.class)
.target("http://localhost:8080/orders");
Flowable response = target.request().rx(RxFlowableInvoker.class).get(Response.class);
response.map(new Function() {

@Override
public String apply(Response t) throws Exception {
System.out.println(t.readEntity(String.class));
return null;
}
}).subscribe();
}
```

Exception :
Exception in thread "main" java.lang.AbstractMethodError: org.glassfish.jersey.client.JerseyInvocation$Builder.rx(Ljava/lang/Class;)Ljavax/ws/rs/client/RxInvoker;

Dependencies list:

```


org.glassfish.jersey.media
jersey-media-sse


org.glassfish.jersey.media
jersey-media-json-jackson


org.glassfish.jersey.ext.rx
jersey-rx-client-rxjava2
2.26-b02


io.reactivex.rxjava2
rxjava
2.0.6


```

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.