Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I have a strange problem. I create the following job :
tRestClient -> tXMLMap -> tLogRow.
The job run perfectly.
If I add a lookup in tXMLMap based on a tRestClient also. I can compile the job but when I execute, I receive the following :
Exception in thread "main" java.lang.NoClassDefFoundError: org/talend/designer/components/lookup/memory/AdvancedMemoryLookup
at mo_ods.t_rest_0_1.T_Rest.tRESTClient_1Process(T_Rest.java:1779)
at mo_ods.t_rest_0_1.T_Rest.runJobInTOS(T_Rest.java:3346)
at mo_ods.t_rest_0_1.T_Rest.main(T_Rest.java:3159)
Caused by: java.lang.ClassNotFoundException: org.talend.designer.components.lookup.memory.AdvancedMemoryLookup
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
I use the following version :
Talend Data Integration (6.4.1.20170623_1246)
Do you have a solution ?
Thanks in advance.
Dimitri
Hi,
Another option is to do in below way.
tRestClient -> tHashOutput
OnSubJobOK
tHashInput-> tXMLMap (with lookup) -> tLogrow
Please opt the right data type for storing rest output data in Hash and also please make sure that Hash is cleared by opting the clear cache option in tHashInput flow.
Warm Regards,
Nikhil Thampi
Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Hello,
If you try to use tESBConsumer / tResctClient as a lookup into tXMLMap, it causes a ClassNotFoundException.
Exception in thread "main" java.lang.NoClassDefFoundError: org/talend/designer/components/lookup/memory/AdvancedMemoryLookup
Are you able to work around the problem by placing a tJavaRow in the lookup path between tRestClient and tXmlMap (just used as a passthrough)? Let us know if it is OK with you.
Best regards
Sabrina
Hello,
I try but I don't know the config in tJavaRow...
Can you explain ?
Thanks in advance
Dimitri
Hi,
Another option is to do in below way.
tRestClient -> tHashOutput
OnSubJobOK
tHashInput-> tXMLMap (with lookup) -> tLogrow
Please opt the right data type for storing rest output data in Hash and also please make sure that Hash is cleared by opting the clear cache option in tHashInput flow.
Warm Regards,
Nikhil Thampi
Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Thanks, It's ok. Perfect