Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
The problem is very strange as everything works fine until I try running a job that contains oracle connectors.
it gives this error: "OracleConnection cannot be resolved to a type" .
After this trying to run anything else also fails with error "Error: Could not find or load main class". Which I found is usually related to having spaces in the talend instalation path "Program files" , which we have , but why this only becomes a problem after running job with Oracle components?
That seems to break something in the environment.
Has anyone have any ideas what could be causing this?
Hi,
This issue is more related to Oracle drivers set up(ojdbc7.jar).
Have you already checked document about:https://help.talend.com/display/TalendOpenStudioforDataIntegrationInstallationandUpgradeGuideforWind...?
Best regards
Sabrina
Yes that was the first thing /i thought, but woudn't it then show up as an error on the component before even running the job?
Also when I try to publish the same job on TAC Publisher I get error:
java.lang.RuntimeException: org.talend.designer.runprocess.ProcessorException: org.talend.commons.exception.PersistenceException: org.talend.designer.runprocess.ProcessorException: Job compile errors At least job "Supervisor_FTP_Oracle" has a compile errors, please fix and export again. Error Line: 11016 Detail Message: com.jcraft cannot be resolved to a type There may be some other errors caused by JVM compatibility. Make sure your JVM setup is similar to the studio. at org.talend.commandline.command.ExtensionCommandSwitch.caseExtensionServerCommand(ExtensionCommandSwitch.java:201) at org.talend.commandline.client.command.extension.AbstractExtensionCommandSwitch.doSwitch(AbstractExtensionCommandSwitch.java:31) at org.talend.commandline.command.CommandProcessorSwitch.caseExtensionCommand(CommandProcessorSwitch.java:161) at org.talend.commandline.client.util.CommandAbstractSwitch.doSwitch(CommandAbstractSwitch.java:70) at org.talend.commandline.command.CommandConsumer.executeCommand(CommandConsumer.java:57) at org.talend.commandline.command.CommandConsumer.execute(CommandConsumer.java:35) at org.talend.commandline.mode.ServerCommandLine$CommmandConsumerRunnable.run(ServerCommandLine.java:139) at java.lang.Thread.run(Thread.java:745) Caused by: org.talend.designer.runprocess.ProcessorException: org.talend.commons.exception.PersistenceException: org.talend.designer.runprocess.ProcessorException: Job compile errors At least job "Supervisor_FTP_Oracle" has a compile errors, please fix and export again. Error Line: 11016 Detail Message: com.jcraft cannot be resolved to a type There may be some other errors caused by JVM compatibility. Make sure your JVM setup is similar to the studio. at org.talend.commandline.util.JobHandler.publish(JobHandler.java:688) at org.talend.commandline.command.extension.PublishJobExecuteCommand.execute(PublishJobExecuteCommand.java:104) at org.talend.commandline.command.ExtensionCommandSwitch.caseExtensionServerCommand(ExtensionCommandSwitch.java:199) ... 7 more Caused by: org.talend.commons.exception.PersistenceException: org.talend.designer.runprocess.ProcessorException: Job compile errors At least job "Supervisor_FTP_Oracle" has a compile errors, please fix and export again. Error Line: 11016 Detail Message: com.jcraft cannot be resolved to a type There may be some other errors caused by JVM compatibility. Make sure your JVM setup is similar to the studio. at org.talend.repository.ui.wizards.exportjob.scriptsmanager.BuildJobManager.buildJob(BuildJobManager.java:209) at org.talend.repository.ui.wizards.exportjob.scriptsmanager.BuildJobManager.buildJob(BuildJobManager.java:158) at org.talend.designer.publish.core.actions.AbstractPublishJobAction.exportJobForPOJO(AbstractPublishJobAction.java:172) at org.talend.designer.publish.core.actions.AbstractPublishJobAction.run(AbstractPublishJobAction.java:98) at org.talend.commandline.util.JobHandler.publish(JobHandler.java:686) ... 9 more Caused by: org.talend.designer.runprocess.ProcessorException: Job compile errors At least job "Supervisor_FTP_Oracle" has a compile errors, please fix and export again. Error Line: 11016 Detail Message: com.jcraft cannot be resolved to a type There may be some other errors caused by JVM compatibility. Make sure your JVM setup is similar to the studio. at org.talend.designer.runprocess.JobErrorsChecker.checkLastGenerationHasCompilationError(JobErrorsChecker.java:308) at org.talend.designer.runprocess.DefaultRunProcessService.checkLastGenerationHasCompilationError(DefaultRunProcessService.java:364) at org.talend.designer.runprocess.RunProcessService.checkLastGenerationHasCompilationError(RunProcessService.java:290) at org.talend.designer.runprocess.ProcessorUtilities.generateBuildInfo(ProcessorUtilities.java:619) at org.talend.designer.runprocess.ProcessorUtilities.generateCode(ProcessorUtilities.java:883) at org.talend.designer.runprocess.ProcessorUtilities.generateCode(ProcessorUtilities.java:707) at org.talend.designer.runprocess.ProcessorUtilities.generateCode(ProcessorUtilities.java:1252) at org.talend.repository.ui.wizards.exportjob.handler.BuildJobHandler.generateJobFiles(BuildJobHandler.java:158) at org.talend.repository.ui.wizards.exportjob.scriptsmanager.BuildJobManager$1.run(BuildJobManager.java:187) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313) at org.talend.repository.ui.wizards.exportjob.scriptsmanager.BuildJobManager.buildJob(BuildJobManager.java:203) ... 13 more
Which is different then the one in studio, any more ideas?
Thank you,
Gabriele