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.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog