Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
MAHARRABI1604057276
Contributor
Contributor

Using tRestClient inside a sub job throws java.lang.NoClassDefFoundError org/apache/cxf/service/model/EndpointInfo

Hi,

 

I'm using a tRestClient inside a sub job(level 1 or more). the Component works when started from the studio, but when deploying it to the karaf container, the following Exception is thrown:

 

Caused by: java.lang.NoClassDefFoundError: org/apache/cxf/service/model/EndpointInfo

    at local_project.gettoken_0_1.GetToken.tRESTClient_1Process(GetToken.java:777)

    at local_project.gettoken_0_1.GetToken.runJobInTOS(GetToken.java:1479)

    at local_project.gettoken_0_1.GetToken.runJob(GetToken.java:1296)

 

When using the same components at the root component, it works. but once inside a sub job it fails.

Someone has any idea please ?

Thank you in advance

1 Reply
Anonymous
Not applicable

Hello,

Are you using it inside a sub job or a child-job? Could you please post your job design screenshots here?

Best regards

Sabrina