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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.

Talend Studio: 'java.lang.NoClassDefFoundError' when deploying a route in Runtime

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
TalendSolutionExpert
Contributor II
Contributor II

Talend Studio: 'java.lang.NoClassDefFoundError' when deploying a route in Runtime

Last Update:

Jan 22, 2024 9:35:30 PM

Updated By:

Jamie_Gregory

Created date:

Apr 1, 2021 6:18:11 AM

A route using the cConfig component to load an external library (for example, org.json.jar or any other JAR), runs as expected in Studio, but fails when deployed and run from Runtime, with the following error message:

Caused by: java.lang.NoClassDefFoundError: org/json/JSONObject

Cause

The external library JAR was not packaged when the route was built/published.

Resolution

  1. Open the route.

  2. Select the Dependencies tab, then select the check box next to the external JAR file.

    0693p000008uId2AAE.jpg

  3. Rebuild or republish the route.

Labels (2)
Version history
Last update:
‎2024-01-22 09:35 PM
Updated by: