A Talend Studio Job fails to start with the following error message:
Starting job test at 07:15 27/11/2019. Error: Could not find or load main class myproject.test_0_1.test Job test ended at 07:15 27/11/2019. [exit code=1]
In this case, the wrong JAR file is in the Maven repository.
This article provides a method to get more details about the potential cause of the error.
In Talend Studio navigate to, Window > Show view...
Add the following views:
General > Error Log
General > Problems
Talend > Problems
Delete any errors that may already exist in the three views.
Reproduce the issue, then check each view for new errors.
For a demonstration, review the studio_debug_classnotfound.mp4 video file (attached to this article).