Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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?
This has been resolved. Added jar to routine and project. See https://help.talend.com/r/qsVMGPxPzq7IQ_Tij2uz2g/ysjMQ3zHv~jWQ9Jvcq1tRQ