cloudera/cm_api

cxf version problem

Opened this issue · 0 comments

In order to be compatible with the spring 4.x version, I modified the cxf version from 2.7.7 to 3.3.0.
An exception occurred during runtime.

Code:
InputStreamDataSource inputStreamDataSource = apiRoot.getClustersResource().getServicesResource(clusterName)
.getClientConfig(serviceName);

Exception:
Caused by: javax.ws.rs.client.ResponseProcessingException: Problem with reading the data, class org.apache.cxf.jaxrs.ext.multipart.InputStreamDataSource, ContentType: application/octet-stream.

What should i do?