One Star

MD5 cannot be resolved.

Bonjour,
I downloaded and install the MD5 Component into TOS. It is now installed under Code > Routines and I can see its name: "MD5 0.1"
I created a small expression in the Var section of a tMap which goes like this:
StringHandling.UPCASE(MD5.getHashString(Var.tel)) just to try it out.
When I execute my job I get:
Exception in thread "main" java.lang.Error: java.lang.Error: java.lang.Error: Problème de compilation non résolu :
MD5 ne peut pas être résolu
---- which means: (MD5 cannot be resolved)
When I look at the top of the code I cannot see MD5 class being listed:
package emploi___java.neo_slvq_01_bnqversmatchit_0_1;
import routines.Mathematical;
import routines.DataOperation;
import routines.Relational;
import routines.TalendDate;
import routines.TalendDataGenerator;
import routines.Numeric;
import routines.TalendString;
import routines.StringHandling;
import routines.system.*;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;
import java.math.BigDecimal;
import java.io.ByteArrayOutputStream;
import java.io.ByteArrayInputStream;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.ObjectOutputStream;
import java.io.ObjectInputStream;
import java.io.IOException;
import java.util.Comparator;
Why is that and what should I do to make it so?
Thanks in advance for your help.
PM
7 REPLIES
Community Manager

Re: MD5 cannot be resolved.

Hi
You need to import the custom routine into the job, right click on the job and select 'Setup routine dependencies' option, then import the user routines.
Best regards
Shong
Best regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
Four Stars

Re: MD5 cannot be resolved.

What is the exact name of jar files that need to import to solve this issue?

Moderator

Re: MD5 cannot be resolved.

Hello vinmae,

Could you please let us know what's error message you are getting? Are you installing MD5 component? We will appreciate it a lot if you could post more information about your issue.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Moderator

Re: MD5 cannot be resolved.

Hello vinmae,

Your post will not submit to community if reply the email directly, please click the Reply button in the bottom of notification mail and then reply, or go to the community and reply.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Moderator

Re: MD5 cannot be resolved.

Hello vinmae,

Your post will not submit to community if reply the email directly, please click the Reply button in the bottom of notification mail and then reply, or go to the community and reply.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Four Stars

Re: MD5 cannot be resolved.

Hi Sabrina,

HI Sabrina,



I already resolved the issue. I am getting this issue because I am missing some routines. So I just imported it to my studio and update the job. It is now fixed!

Moderator

Re: MD5 cannot be resolved.

Hello,

Great it is fixed. Fee free to let us know if there is any further help we can give.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.