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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
9bc75jeff
Contributor II
Contributor II

class not found error

im getting java.lang.ClassNotFoundException when i run any file.

Error:

Error: Could not find or load main class local_project.job_audit_0_1.job_audit

Caused by: java.lang.ClassNotFoundException: local_project.job_audit_0_1.job_audit

Labels (2)
5 Replies
Anonymous
Not applicable

Hi @jeff bauman​,

 

Could you go to ....

 

Window ---> Show View

 

....then select....

 

General---> Problems (hit Open)

 

Then show us what you see?

Anonymous
Not applicable

Hello,

Does this issue repro on all your jobs or a specific job? If former, please check your installation that Talend is installed in your machine with no spaces in directory path at all and Talend is root user so it has access to all files.

Ensure you have a proper JDK installed. For talend open studio 7.2.1, oracle JDK 8 is required.

Best regards

Sabrina

 

 

9bc75jeff
Contributor II
Contributor II
Author

@Xiaodi Shi​ Hi, this is for all the jobs, im facing this issue from yesterday. jdk is also properly installed.

9bc75jeff
Contributor II
Contributor II
Author

0695b00000N2UdEAAV.png

Anonymous
Not applicable

Hello,

The error "Could not find or load main class" is usually caused the blank space in the installation path. What does your installation path look like? Please check your installation that Talend is installed in your machine with no spaces in directory path at all and Talend is root user so it has access to all files.

What is your JDK Compliance level in Studio Java Compiler preferences? Is it set to 1.8 as well?

 

In addition to that, is there any more error message in log? Which is located in <Talend Studio installation path>/workspace/.metadata/.log?

 

Best regards

Sabrina