I'm trying to use RESTEasy as JAX-RS 2.0 client implementation. The problem is that I got runtime exception:
06-28 13:29:06.410: E/AndroidRuntime(5745): Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: org.glassfish.jersey.client.JerseyClientBuilder
06-28 13:29:06.410: E/AndroidRuntime(5745): at javax.ws.rs.client.ClientBuilder.newBuilder(ClientBuilder.java:103)
So the newBuilder()
method is searching for JerseyClientBuilder
if I understand it correct. How can I tell the system to use RESTEasy instead?