Problem Description

XML based rest API source fails with the below error in UI during the metadata crawl.

The queryservice.out in the location $IW_HOME/platform/logs/ will have the below ERROR.

2020-04-30 15:38:53,207 ERROR [vert.x-worker-thread-2] service.RestApiController:95 : error: java.lang.NoClassDefFoundError: org/apache/http/impl/client/HttpClientBuilder

    at infoworks.vertx.service.RestApiController.lambda$getFlatSchema$4(
    at io.vertx.core.impl.ContextImpl.lambda$executeBlocking$2(
    at java.util.concurrent.ThreadPoolExecutor.runWorker(
    at java.util.concurrent.ThreadPoolExecutor$


This happens if the required HTTP client jar is not present in the queryservice_classpath in


a) Login to the edge node as user who starts Infoworks Services.

b) Download the httpclient jar using the below command


c) Take the backup of file in $IW_HOME/conf directory.

d) Add the absolute path of HTTP client jar at the beginning of the queryservice_classpath in the file as shown below.

<Add the classpath text for reference>

e) Restart the query service.

Affected Versions

IWX Data Foundry 2.9.1 on Cloudera