Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Hemidude
Contributor
Contributor

Error: Could not find or load main class when running from Talend Open Studio

Hi all,

I have read many threads about this error but none of the solutions have helped so far.

I am using Talend Open Studio for Data Integration 7.3.1.20200219_1130 with Java 1.8.0_201

I keep getting "Error: Could not find or load main class" on my top-level job which just orchestrate tRunJobs linked by OnSubjobOK which in turn call other tRunJobs.

This is only 3 levels deep: Job Production_Full calls tRunJobs, which each call another sub-job that calls a third sub-job that actually does the work.

The sub-jobs all run perfectly at each level except the top one that orchestrates everything.

It used to work but now does not.

I have checked all the Contexts are the same Repository setting and all the Java paths seem to be OK.

No sub-job is set to "Use an independent process to run subjob".

I tried creating a new job that ran the same tRunJobs, but that failed too

I have another job in the same Project that is nested in the same way and even uses most of the same jobs - that works with no error

What am I missing?

If we follow the job design through the levels and concentrate on the first sub-job of each (all other jobs are variations of this pattern):

0693p00000C7RhpAAF.png so UT_SC contains 0693p00000C7RhuAAF.png where UT_SC_ccntmf contains 0693p00000C7RhzAAF.png

Labels (4)
1 Reply
prg
Employee
Employee

Hello @Scott Johnston​ ,

 

Could you please refer to the article for Debug issues related to the Talend Studio error 'Could not find or load main class';

 

https://community.talend.com/s/article/Debug-issues-related-to-the-Talend-Studio-error-Could-not-find-or-load-main-class-7Cs9y

 

Let us know if it helps.

 

Regards,

Vaishnavi