
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Talend Job JAR Files Location
Talend Cloud Real-Time Big Data Platform V7.3.1
Questions:
1) How to identify the directory/location of the JAR files that the Talend job is looking into?
2) How to edit or force Talend job to point to the JAR file location without using tLibraryLoad component?
Note: Frequent issue of Java error, NoClassDefFoundError, even though the JAR files/modules have already been installed and/or added to the routine library of the code and the Talend job has been setup with the routine dependency. Needed JAR files are also existing in the following directory:
<InstalledTalendDirectory>\configuration\.m2\repository
Example:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/logging/log4j/LogManager
JAR file exist in
<InstalledTalendDirectory>\configuration\.m2\repository\org\apache\logging\log4j\log4j-api\2.12.1\log4j-api-2.12.1.jar
Same JAR file added in the routine library of the code.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI, go to window --> show view -->Java --> Package Explorer:
then go to (your_Project_name) go to Maven Dependencies : you will see the path of all the jar.
Send me Love and Kudos

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
you can right click on the jar select properties and select the path you want to use

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your reply; but there is no Maven Dependencies under the Project name like in the following:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
do you have a folder like (your project name)_BEANS Just after (your project name) folder ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes; I found the Maven Dependencies there. Thanks; I'll check it.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Talend can't still locate the classpath in the jar file even after explicitly specifying the jar file location.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you try to restart Talend?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes. I have restarted Talend and also tried the following:
- Re-ordered build path to move Maven Dependencies at the top.
- Re-extracted/Re-installed Talend.
