cloudera / cm_api

Cloudera Manager API Client
Apache License 2.0
305 stars 284 forks source link

cxf version problem #82

Open easonliu30624700 opened 4 years ago

easonliu30624700 commented 4 years ago

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?