Import external jar using routines

Eight Stars

Import external jar using routines

Hi Talend experts

 

I exported routine and select dependencies as well and imported to master branch.

 

When I ran my ETL job it gives me an error:

 

Exception in thread "main" java.lang.NoClassDefFoundError: org/json/simple/parser/ParseException

 

So not sure if I am doing something wrong. Is there any process of importing/exporting routine with external libraries?

 

I tried creating Routine from the scratch and added library afresh but doesn't seem to be working in new branch.

 

Any help is really appreciated!

 

Thanks

Harshal.


Accepted Solutions
Eight Stars

Re: Import external jar using routines

Hi all

 

I used tLibraryLoad instead of importing export dependencies for Routine and it worked fine.

 

Thanks.


All Replies
Eight Stars

Re: Import external jar using routines

Hi all

 

I used tLibraryLoad instead of importing export dependencies for Routine and it worked fine.

 

Thanks.

Moderator

Re: Import external jar using routines

Hello,

Sorry for our silence. We do our best to answer as many posts as possible.
Glad that you found a workaround.
Thanks for sharing your solution.

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

An API-First Approach to Modernizing Applications

Learn how to use an API-First Approach to Modernize your Applications

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

Talend API Designer – Technical Overview

Take a look at this technical overview video of Talend API Designer

Watch Now