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: 
tale103108
Contributor III
Contributor III

jasypt.jar works with Routine but not when Routine is called by job

The following code compiles in a Code-> Routine but when I call the routine from a job, it fails:

Routine code snippet:

import org.jasypt.util.text.*;

AES256TextEncryptor textEncryptor = new AES256TextEncryptor();

Failure in job:

Exception in thread "main" java.lang.NoClassDefFoundError: org/jasypt/util/text/AES256TextEncryptor

Why does the routine find the jar referenced by

import org.jasypt.util.text.* but not the job?

How does one import jasypt.jar such that it is permanent and visible to both the routine and the job?

Labels (3)
1 Reply
tale103108
Contributor III
Contributor III
Author

This has been resolved. Added jar to routine and project. See https://help.talend.com/r/qsVMGPxPzq7IQ_Tij2uz2g/ysjMQ3zHv~jWQ9Jvcq1tRQ