Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I created a job that runs without any errors on my Talend Studio 7.2.1
And when I try to run a job via TAC, I am getting this error:
### Job STARTED at 2020/07/20 16:05:48 (jobId=20200720_160538_Kz9eU, jobExecutionId=20200720160548_oGNwg) ###
### Job ENDED WITH ERROR at 2020/07/20 16:05:48 (jobId=20200720_160538_Kz9eU, jobExecutionId=20200720160548_oGNwg) ###
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/jersey/api/client/UniformInterfaceException
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
at java.lang.Class.getMethod0(Class.java:3018)
at java.lang.Class.getMethod(Class.java:1784)
at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526)
Caused by: java.lang.ClassNotFoundException: com.sun.jersey.api.client.UniformInterfaceException
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
... 7 more
Could you please guide how to resolve this issue
Hello,
What does your job design look like? Are you using tRest component in your work flow? Please give us more information about your job so that we could narrow down this class not found issue.
Best regards
SABRINA
Hi,
Yes i am using tRest component in our flow.
Job is working fine in Talend Studio 7.2.1, but when i deployed this job into TAC and try to run then it throws the above error.
Please find the Job flow.
Attached
Hello,
Could you please create an 'Artifact Task' in Job Conductor instead of a 'Normal Task' to see if it works?
For more information, please have a look at my screenshot.
Best regards
Sabrina
Hi ,
I tried with the artifact task, again i am getting the same error.
Thanks,
Ashish
Hello,
Could you also check Job Server logs to see similar error? With your subscription solution, could you please create a support case through support cycle with priority?
Best regards
Sabrina
Hi,
Now job is working fine, thanks for your support.
Hello,
Great it is fixed. We will appreciate it a lot if you could share your solution with us.
Best regards
Sabrina