Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
Hi @jeff bauman,
Could you go to ....
Window ---> Show View
....then select....
General---> Problems (hit Open)
Then show us what you see?
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
@Xiaodi Shi Hi, this is for all the jobs, im facing this issue from yesterday. jdk is also properly installed.
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