Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I created a custom routine with a few org.apache.* imports
The editor doesn't show me any errors and autocomplete worked.
No errors showing here:
But when I call the routine I'm getting
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/http/HttpEntity
at talend_shared.restcallvlaanderen_0_1.RESTCallVlaanderen.tJava_1Process(RESTCallVlaanderen.java:436)
at talend_shared.restcallvlaanderen_0_1.RESTCallVlaanderen.runJobInTOS(RESTCallVlaanderen.java:799)
at talend_shared.restcallvlaanderen_0_1.RESTCallVlaanderen.main(RESTCallVlaanderen.java:564)
Caused by: java.lang.ClassNotFoundException: org.apache.http.HttpEntity
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 3 more
Any idea why?
Fixed: Edit routing libraries and add the correct package
Fixed: Edit routing libraries and add the correct package
Hello,
Thanks for letting us know you've resolved this issue by yourself and sharing the solution here.
Best regards
Sabrina