Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Getting a compile errors while generating and delopying jobs from TAC

Hi,

 

I am getting the compile time errors while generating and delopying jobs from TAC. My jobs are running fine in local, when pushed to SVN and then added to TAC it is giving compile time error. Below is the error i am getting :- 

 

 

java.lang.RuntimeException: org.talend.designer.runprocess.ProcessorException: org.talend.commons.exception.PersistenceException: org.talend.designer.runprocess.ProcessorException: Job compile errors
At least job "CHANNELS_GROUPS_Delta" has a compile errors, please fix and export again.
Error Line: 16180
Detail Message: net.minidev 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:179)
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 "CHANNELS_GROUPS_Delta" has a compile errors, please fix and export again.
Error Line: 16180
Detail Message: net.minidev 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.export(JobHandler.java:235)
at org.talend.commandline.command.execute.BuildJobExecuteCommand.execute(BuildJobExecuteCommand.java:143)
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 "CHANNELS_GROUPS_Delta" has a compile errors, please fix and export again.
Error Line: 16180
Detail Message: net.minidev 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:234)
at org.talend.repository.ui.wizards.exportjob.scriptsmanager.BuildJobManager.buildJob(BuildJobManager.java:164)
at org.talend.commandline.util.JobHandler.export(JobHandler.java:224)
... 9 more
Caused by: org.talend.designer.runprocess.ProcessorException: Job compile errors
At least job "CHANNELS_GROUPS_Delta" has a compile errors, please fix and export again.
Error Line: 16180
Detail Message: net.minidev 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:326)
at org.talend.designer.runprocess.DefaultRunProcessService.checkLastGenerationHasCompilationError(DefaultRunProcessService.java:380)
at org.talend.designer.runprocess.RunProcessService.checkLastGenerationHasCompilationError(RunProcessService.java:292)
at org.talend.designer.runprocess.ProcessorUtilities.generateBuildInfo(ProcessorUtilities.java:634)
at org.talend.designer.runprocess.ProcessorUtilities.generateCode(ProcessorUtilities.java:904)
at org.talend.designer.runprocess.ProcessorUtilities.generateCode(ProcessorUtilities.java:719)
at org.talend.designer.runprocess.ProcessorUtilities.generateCode(ProcessorUtilities.java:1270)
at org.talend.repository.ui.wizards.exportjob.handler.BuildJobHandler.generateJobFiles(BuildJobHandler.java:159)
at org.talend.repository.ui.wizards.exportjob.scriptsmanager.BuildJobManager$1.run(BuildJobManager.java:208)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
at org.talend.repository.ui.wizards.exportjob.scriptsmanager.BuildJobManager.buildJob(BuildJobManager.java:228)
... 11 more

 

Can anyone help me, how to resolve this error .. ??

Labels (2)
4 Replies
fdenis
Master
Master

can you compile your job into talend studio, is there any red underlines text into the code tab?
Anonymous
Not applicable
Author

Hi francois,

Yes, i can compile my jobs from studio. This error is not job specific, i am getting this error, while deploying all my jobs in TAC server.

 

fdenis
Master
Master

check java version on tac and your studio and on each executors.
is it a new or an old tac what is the history of your server updrade and so on ….
Anonymous
Not applicable
Author

This is why it is failing : - 

 

0683p000009M8oC.png

 

When i look into the code in Studio :-

0683p000009M8jR.png

 

Looks like TAC is not converting tExtractJsonFeilds into json.JsonArray.

 

Can you help me in this ??

 

Thanks in Advance!