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: 
Anonymous
Not applicable

java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/apache/commons/lang/exception/NestableRuntimeException

Hi,

 

I try to migrate a job from 6.4.1 to 7.2.1. This one works fine in 6.4.1 but in 7.2.1, I get this issue :

Exception in component tExtractJSONFields_1 (Copy_of_test_a)
java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/apache/commons/lang/exception/NestableRuntimeException
at talend_salesforce.copy_of_test_a_0_1.Copy_of_test_a.tRESTRequest_1_LoopProcess(Copy_of_test_a.java:6458)
at talend_salesforce.copy_of_test_a_0_1.Copy_of_test_a$RestServiceProviderImpl4TalendJob.processRequest(Copy_of_test_a.java:833)
at talend_salesforce.copy_of_test_a_0_1.Copy_of_test_a$RestServiceProviderImpl4TalendJob.synchro(Copy_of_test_a.java:928)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)at java.lang.reflect.Method.invoke(Unknown Source)at org.apache.cxf.service.invoker.Abs



To see the whole post, download it here
Labels (3)
1 Reply
root
Creator II
Creator II

@mikymike
I too faced the same issue while moving from 6.3.1 to 7.2.1, but could not find any solution. Unfortunately, for me, since time was essence, I postponed the upgrade.

Weird part is that the job runs fine in the Studio. Only when I pushed the code to the Runtime container, it spit this error.

One thing I can propose for you to try:
push the "commons-lang-2.6.jar" in the container's deploy folder and check. As far as I understand, 7.2.1 ships with commons-lang3 library.

Good luck. Thanks