Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Jan 22, 2024 9:35:30 PM
Jamie_Gregory
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
The external library JAR was not packaged when the route was built/published.
Open the route.
Select the Dependencies tab, then select the check box next to the external JAR file.
Rebuild or republish the route.