Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
AKumar1595005090
Contributor
Contributor

Error: A JNI error has occurred, please check your installation and try again

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

Labels (3)
9 Replies
Anonymous
Not applicable

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

AKumar1595005090
Contributor
Contributor
Author

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.

 

 

 

AKumar1595005090
Contributor
Contributor
Author

Please find the Job flow.

 

AKumar1595005090
Contributor
Contributor
Author

Attached

Anonymous
Not applicable

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.

0693p000008vfIJAAY.png

 

 

Best regards

Sabrina

AKumar1595005090
Contributor
Contributor
Author

Hi ,

 

I tried with the artifact task, again i am getting the same error.

 

Thanks,

Ashish

 

 

 

 

 

Anonymous
Not applicable

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

 

 

 

AKumar1595005090
Contributor
Contributor
Author

Hi,

 

Now job is working fine, thanks for your support.

 

 

Anonymous
Not applicable

Hello,

Great it is fixed. We will appreciate it a lot if you could share your solution with us.

Best regards

Sabrina