A main Job execution fails with the following errors when the main Job calls a child-job, and the child-job is configured with a Custom GroupId:
Exception in thread "main" java.lang.Error: Unresolved compilation problems: com.jcraft cannot be resolved to a type
This is a known bug.
This problem was fixed in Talend 6.5.1.
Disable/clear Use Custom GroupId from all Jobs involved, by opening the Job, then in the Job tab, select Deployment, and uncheck the Use Custom groupID check box.