[resolved] TalendJob cannot be resolved to a type

Highlighted
One Star

[resolved] TalendJob cannot be resolved to a type

Hi all
i'm writing my first Talend job but, when i build the job, I have several compiling errors like the following one:
org.talend.commons.exception.PersistenceException: org.talend.designer.runprocess.ProcessorException: Job compile errors
At least job "dsm" has a compile errors, please fix and export again.
Error Line: 58
Detail Message: TalendJob 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)
or Detail Message: ResumeUtil cannot be resolved to a type
----------------------------------
My configuration is:
OS: Windows 10 64-bit
JDK: 1.8.0_111 64-bit
Compiler compliance level: 1.7
Below you find some lines from the Installation details:
*** Date: domenica 8 gennaio 2017 13:06:58 Ora standard dell'Europa centrale
*** Platform Details:
*** System properties:
ReadOnlyUser=false
USE_BROWSER=true
applicationXMI=org.eclipse.ui.workbench/LegacyIDE.e4xmi
awt.toolkit=sun.awt.windows.WToolkit
clearPersistedState=true
default.update.site.url=
eclipse.commands=-os
win32
-ws
win32
-arch
x86_64
-showsplash
-launcher
C:\Archivio Programmi\Talend\TOS_DI-20161026_1219-V6.3.0\TOS_DI-win-x86_64.exe
-name
TOS_DI-win-x86_64
--launcher.library
C:\Archivio Programmi\Talend\TOS_DI-20161026_1219-V6.3.0\plugins\org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140603-1326\eclipse_1603.dll
-startup
C:\Archivio Programmi\Talend\TOS_DI-20161026_1219-V6.3.0\plugins\org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.overrideVmargs
-data
C:\\_Dati\\BIRT_SISM\\Attività\\BI\\Dati\\ETL\\SISM
-launcher
C:\Archivio Programmi\Talend\TOS_DI-20161026_1219-V6.3.0\TOS_DI-win-x86_64.exe
-vm
C:\Program Files\Java\jdk1.8.0_111\bin\..\jre\bin\server\jvm.dll
eclipse.home.location=file:/C:/Archivio Programmi/Talend/TOS_DI-20161026_1219-V6.3.0/
eclipse.launcher=C:\Archivio Programmi\Talend\TOS_DI-20161026_1219-V6.3.0\TOS_DI-win-x86_64.exe
eclipse.launcher.name=TOS_DI-win-x86_64
Any suggestion will be appreciated.
Best regards.
Pasquale

Accepted Solutions
One Star

Re: [resolved] TalendJob cannot be resolved to a type

I fixed my problem.
I tried to work by using a project created, by a college of mine, by using Talend DI V5.6 without importing it.
I started again by a new installation and imported the previous project: now I can create and compile without errors the old jobs and the new one.
Best regards.
Pasquale
 

All Replies
Moderator

Re: [resolved] TalendJob cannot be resolved to a type

Hi,
Does this issue repro on all your jobs or a specific job? Could you please check your "Code" tab in your job? There will be your compile error highlighted in red line.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: [resolved] TalendJob cannot be resolved to a type

All my jobs have the same problem.
the first compiling errors I see in the code tab are the following:

- the declared package "sism_2.dsm_0_1" does not match the expected package "main.java.sism_2.dsm_0_1"
- the following import cannot resolved:
import routines.Numeric;
import routines.DataOperation;
import routines.TalendDataGenerator;
import routines.TalendString;
import routines.StringHandling;
import routines.Relational;
import routines.TalendDate;
import routines.Mathematical;
import routines.system.api.*;

Note that the "import routines.system.*;" IS NOT marked as an error.

I'm using Talend DI version 6.3.0.
One Star

Re: [resolved] TalendJob cannot be resolved to a type

I fixed my problem.
I tried to work by using a project created, by a college of mine, by using Talend DI V5.6 without importing it.
I started again by a new installation and imported the previous project: now I can create and compile without errors the old jobs and the new one.
Best regards.
Pasquale
 
Moderator

Re: [resolved] TalendJob cannot be resolved to a type

Hi Pasquale,
Great your issue has been fixed. Could you please mark this topic as resolved?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Four Stars

Re: [resolved] TalendJob cannot be resolved to a type

I also have this problem...

Using tBigQueryInput and tLogRow

Connecting to BigQuery to eventually load into Snowflake

org.talend.designer.runprocess.ProcessorException: Job compile errors
At least job "ImportGA" has a compile errors, please fix and export again.
Error Line: 776
Detail Message: querySql_tBigQueryInput_1 cannot be resolved to a variable
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:338)
at org.talend.designer.runprocess.DefaultRunProcessService.checkLastGenerationHasCompilationError(DefaultRunProcessService.java:462)
at org.talend.designer.runprocess.RunProcessService.checkLastGenerationHasCompilationError(RunProcessService.java:316)
at org.talend.designer.runprocess.ProcessorUtilities.generateBuildInfo(ProcessorUtilities.java:817)
at org.talend.designer.runprocess.ProcessorUtilities.generateCode(ProcessorUtilities.java:591)
at org.talend.designer.runprocess.ProcessorUtilities.generateCode(ProcessorUtilities.java:1788)
at org.talend.designer.runprocess.RunProcessContext$1.run(RunProcessContext.java:580)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:466)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:374)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:527)
at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:284)
at org.eclipse.ui.internal.progress.ProgressManager.run(ProgressManager.java:1190)
at org.talend.designer.runprocess.RunProcessContext.exec(RunProcessContext.java:532)
at org.talend.designer.runprocess.remote.RunRemoteProcessContext.exec(RunRemoteProcessContext.java:85)
at org.talend.designer.runprocess.ui.ProcessComposite.exec(ProcessComposite.java:1401)
at org.talend.designer.runprocess.ui.views.ProcessView$RunAction.run(ProcessView.java:701)
at org.talend.designer.runprocess.ui.actions.RunProcessAction.run(RunProcessAction.java:58)
at org.talend.designer.core.debug.JobLaunchConfigurationDelegate$1.run(JobLaunchConfigurationDelegate.java:84)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4147)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3764)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.talend.rcp.intro.Application.start(Application.java:265)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)

Cloud Free Trial

Try Talend Cloud free for 30 days.

Tutorial

Introduction to Talend Open Studio for Data Integration.

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.