call third party jar in Child Job

Five Stars

call third party jar in Child Job

Hi,

 

I'm using third party jar in my job using tLibrary component.

 

Two issues:

 

1) After loading jar using tLibrary component, I'm using one of the class's method in my next tjava component. But its showing that it doesnt exists in imports ( Showing error in imports ). WHY ? Am I doing something wrong. ?

 

2) Can I call jar's method in subjob as well once jar is loaded in main job using tLibrary component ? In my case its showing doesnt's exists ..! Smiley Sad 

 

Please Advice..!

Thanks

Moderator

Re: call third party jar in Child Job

Hello,

Could you please give us more information about your code in tJava? Please make sure you import the class before using it(advanced setting tab of tJava) or you can use the class with full package path.

 Screenshots of your tJava component setting will be preferred. 

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

Definitive Guide to Data Quality

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

Download