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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Could not find or load main class

 

I have  already tried the solutions recommended by other posts on the community:

- install path with no spaces

- running on java 1.8_77

- cleaned up work space

- fresh install of talend

 

None of the above have resolved my issue. I am running talend on my local machine

 

i am running talend studio for big data 6.3.0

with 

java jdk is 1.8_77

 

talend path is  

/Users/me/Documents/Software/TOS_BD-20161026_1219-V6.3.0/TOS_BD-macosx-cocoa

 

can some one help as i have exhausted all possible solutions.

let me know if any other information can be provided

 

 

 

 

Labels (2)
36 Replies
Anonymous
Not applicable
Author

Hello Sabarina,

please take look at below screenshots and  Installed JRE path was provided by JDK path,  please let me know if there any corrections. also, I have tired to give JRE path instead of JDK

 

0683p000009LyLd.jpg0683p000009LyJJ.jpg0683p000009LyIh.jpg0683p000009LyH9.jpgpath, but its also not worked

Anonymous
Not applicable
Author

I have no corrupted workspace FYI
Anonymous
Not applicable
Author

Hello,

Please take a look at this documentation:TalendHelpCenter:Java PSU not supported.

Best regards

Sabrina

Anonymous
Not applicable
Author

Hi,

 

I have a similar error message but i'm not sure if it is Java or Talend installation related. 

I'm working on Talend Open studio 7.2.1. 

So i have 7-8 Jobs that are supposed to run one by one. I created a main job flow that runs these jobs in a serial fashion separated by OnSubJobOk. 

All the individual jobs run completely fine on their own from the IDE. But when i run the combined job flow it throws the error "Error: Could not find or load main class psa_img_club_etl_dev.load_surveys_batch_job_0_1.Load_Surveys_Batch_Job". 

If i remove a few jobs from this main job, it seems to run ok. But when i add those jobs back it throws the same error. 

Anyone else faced a similar issue when combining jobs in one main job? 

 

 

Anonymous
Not applicable
Author

I had similar problem mentioned below - 

I have around 25 talend jobs which are called one after another basedon onSubJobOk from the calling main job

using tRunJob component.

MasterJob is - tRunJob1--(OnSubJobOK)-->tRunJob2--(OnSubJobOK)-->tRunJob3......--(OnSubJobOK)-->tRunJobX

I had migrated them from TOS 6.3 to TOS7.1 and faced no issues.

Lately i migrated from TOS7.1.1 to TOS7.3.1 and faced this class not found issue for this master job.

Child jobs were able to run on their own successfully. May other jobs which in turn had 2-3 tRunJob were running

successfully in TOS 7.3.1 but this master job not.

Since individual jobs are running fine, - java settings and workspace name having space were not the problem for me.

Solution - I opened all these 25 child jobs which i called from master job and refreshed their context-groups - as over period of time what has happened that i have added some extra parameters/attributes to these existing context groups and since these params were not used in all existing jobs, these context groups were not udpated/refreshed in them.

So once i opened and refreshed all context groups in these jobs and saved them back and executed master job again - it all worked fine.

For now i am not getting any more class not found error and things are fine.

This solution worked for other jobs too whereever i was using tRunJob to trigger child jobs

Kostadin
Contributor
Contributor

I had the same Error.

Thanks to this article I resolved it by going to Talend>Window>Preferences>JAVA>Installed JREs

There I had JDK and JRE 1.8.0_291.

I removed the JDK and it resolved the issue.

BA621858188
Creator
Creator

@Joel Dasari​ 

 

what are those extra libraries? can you help?