You may get the following error when trying to execute a task in Job Conductor:
Exception in thread "main" java.lang.NoClassDefFoundError
This is because the required Job libraries are missing. The following are two possible causes of this error:
Re-generate the Job script and redeploy it to the Job Server.
There have been many Jobs deployed to the Job Server. There is a property in the Job Server to set the maximum number of cached libraries to keep. If the total number of libraries exceeds this value, some of the libraries will be deleted. To increase the value of this property to prevent this problem, follow these steps:
Go to Job Server installation dir/conf/, open the TalendJobServer.properties file, and edit the following property:
Change the property to a bigger value, for example:
Save the file and restart Job Server.
In the Job Conductor, regenerate the task and redeploy it to the Job Server.