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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Error: Could not find or load main class. when running a Talend Job

I have the same issue with our dev environment. I get error Error: Could not find or load main class. Take note, that it works in our pre-prod environment and setup is identical.
Things to note:
1. Talend is installed in linux machine with no spaces in directory path at all.
2. Talend is root user so it has access to all files.
3. if we contact support most likely it will send us through this forum.
Thanks,
David

Labels (2)
51 Replies
Anonymous
Not applicable
Author

I have finally solved the issue.
This was ha penning for all exported jobs.

The issue was because of the path of the bat file containing a space. Just moved the whole folder to C:/ folder.

Honestly I don't understand why it is an issue, if it is a valid path for windows it should be the same for the talend job.
Anonymous
Not applicable
Author

You need to check jar path and class path in .sh script . It should be correct.

 

$ROOT_PATH/../bin/<<JAR NAME>>.jar: <<Complete Class path>>