Problem with import java package

Five 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?


Accepted Solutions
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.

All Replies
Ten Stars

Re: Problem with import java package

Are you importing java.util.concurrent.*?
Five 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.

What’s New for Talend Spring ’19

Watch the recorded webinar!

Watch Now

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch

Downloads and Trials

Test drive Talend's enterprise products.

Downloads