
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
java.lang.ClassNotFoundException
Hello everyone,
I'm getting the error below when I run a Job in Talend Cloud Big Data Platform:
Error: the main class talend_cloud_adr.jh_rep has not been found
Caused by: java.lang.ClassNotFoundException: talend_cloud_adr.jh_rep
What must I do to overcome this error?
Thank you so much,
Rui

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
This might be caused by a corrupt jar File of a module. We need a little bit more information to address your issue.
Are you using Talend Cloud Big Data Platform V 8.0 and java 11? Which talend component are you using in your job?
Best regards
Sabrina

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @Xiaodi Shi ,
Thank you for answering.
I am using Talend Cloud Big Data Platform (R2023-10) and Java 11.
I am using tDBInput - tMap - tFileOutputDelimited.
The tDBInput file gets its connection information from a Matadata Saleforce connection.
Thank you
Rui

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I haven't met this talend_cloud_adr.jh_rep class missing/corrupt issue before and have already reported your issue to our big data team and then come back to you as soon as possible.
Thanks for your time.
Best regards
Sabrina

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I appreciate your help, @Xiaodi Shi
I will make a change, setting up the connection right on the component, instead of using a predefined connection.
Maybe this way I can isolate and pinpoint the problem.
I'll keep you posted.
Rui

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I am also encountering this issue.
It happened after a fresh install of Talend Studio R2023-10.
In our case, we are using Java 17.
The error is caused by this (log can be found in workspace\.metadata\.log):
!MESSAGE 2023-11-13 13:52:23,782 ERROR org.talend.commons.exception.CommonExceptionHandler - [ERROR] Failed to execute goal on project routines: Could not resolve dependencies for project org.example.employees_hr_cloud.code:routines:jar:8.0.1: The following artifacts could not be resolved: com.fasterxml.jackson.core:jackson-core:jar:2.13.3, com.fasterxml.jackson.core:jackson-annotations:jar:2.13.3, com.fasterxml.jackson.core:jackson-databind:jar:2.13.4.2: Cannot access central (https://repo1.maven.org/maven2/) in offline mode and the artifact com.fasterxml.jackson.core:jackson-core:jar:2.13.3 has not been downloaded from it before.
Simply put, on a fresh install of Talend R2023-10, the included version of these components are 2.14.3.
However, it seems several components in Talend still expect older versions, like 2.13.3.
As a work around, I have loaded these older jars with the tLibraryLoad components.
Doing this solves the issue and the job runs successfully.
BR,
Jan Terje

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello there,
I've found out that the problem only occurs when I'm using a project that is connected to GIT.
If I run the same Job in the same Studio, on the same workspace, but in another project that is not connected to GIT, the Job runs successfully.
Can it be that it has something to do with permissions? Has anybody ever come across such a problem?
Thank you,
Rui
