Four Stars

Problem with import java package

I want to import java.util.concurrent; in tjava.

 

 

But Talend threw me error whenever I try to do it. Saying "Only a type can be imported. java.util.concurrent resolves to a type." 

 

What should I do?

  • Data Integration
3 REPLIES
Ten Stars

Re: Problem with import java package

Are you importing java.util.concurrent.*?
Four Stars

Re: Problem with import java package

Yes you are right. Thanks.

Moderator

Re: Problem with import java package

Hello,

What does the java code you tried in tJava component look like? Is there any compile error?

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.