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.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Problems exporting job with custom routine

Hello,

 

I have problems with a job which does have a subjob which using a custom Routine "MyLib". The subjob does have the dependency set correctly, the main job does not. I did try adding it manually but this does not change anything on the exception...

 

A related issue i often have when exporting to standalone job:

https://community.talend.com/t5/Installing-and-Upgrading/Cannot-build-standalone-jobs-since-upgrade-...

 

Exception in thread "main" java.lang.NoClassDefFoundError: routines/MyLib
        at local_project.killrunningjobs_0_1.killRunningJobs.tFixedFlowInput_1Process(killRunningJobs.java:2748)
        at ...
Caused by: java.lang.ClassNotFoundException: routines.MyLib
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Just found out that routines are saved in "routines.jar", this file is located under lib and needs to be transferred or updated on the server.

View solution in original post

1 Reply
Anonymous
Not applicable
Author

Just found out that routines are saved in "routines.jar", this file is located under lib and needs to be transferred or updated on the server.