I am trying to use the Apache Wink Client inside a JAX-RS application on Liberty 22.214.171.124, developing with Rational Software Architect for WebSPhere 126.96.36.199.
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?