I am trying to use the Apache Wink Client inside a JAX-RS application on Liberty 188.8.131.52, developing with Rational Software Architect for WebSPhere 184.108.40.206.
I get the following error:
The type org.apache.wink.client.internal.BaseRequestResponse cannot be resolved. It is indirectly referenced from required .class files
when I execute code like:
ClientConfig clientConfig = new ClientConfig();
RestClient client = new RestClient(clientConfig);
Resource res = client.resource("//URL");
ClientResponse response = res.get();
response.getEntity(JSONObject.class);//error on this line
I checked the file:
and indeed it does not contain the org.apache.wink.client.internal package. Is this a defect? What is the best resolution?