Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Can't Execute Exported then Imported Job

Hi, 

 

I have a local project that is running just great. When I export the project using the right click + export items functionality and then Import it on the same machine the master job is not running while each individual job runs fine. 

 

This is the error log I receive:

 

Exception in thread "main" java.lang.Error: Unresolved compilation problems:

The import routines cannot be resolved

The import routines cannot be resolved

The import routines cannot be resolved

The import routines cannot be resolved

The import routines cannot be resolved

The import routines cannot be resolved

The import routines cannot be resolved

The import routines cannot be resolved

The import routines cannot be resolved

The import routines cannot be resolved

The import routines cannot be resolved

TalendJob cannot be resolved to a type

RunStat cannot be resolved to a type

RunStat cannot be resolved to a type

routines cannot be resolved to a type

routines cannot be resolved to a type

routines cannot be resolved to a type

TDieException cannot be resolved to a type

TDieException cannot be resolved to a type

TDieException cannot be resolved to a type

ResumeUtil cannot be resolved to a type

ResumeUtil cannot be resolved

ResumeUtil cannot be resolved to a type

ResumeUtil cannot be resolved

ResumeUtil cannot be resolved to a type

ResumeUtil cannot be resolved

ResumeUtil cannot be resolved to a type

ResumeUtil cannot be resolved

ResumeUtil cannot be resolved to a type

ResumeUtil cannot be resolved

ResumeUtil cannot be resolved to a type

ResumeUtil cannot be resolved

ResumeUtil cannot be resolved to a type

ResumeUtil cannot be resolved

ResumeUtil cannot be resolved to a type

ResumeUtil cannot be resolved

ResumeUtil cannot be resolved

ResumeUtil cannot be resolved

ResumeUtil cannot be resolved

test_import_1.j_src_agents_0_1 cannot be resolved to a type

test_import_1.j_src_agents_0_1 cannot be resolved to a type

routines cannot be resolved to a type

routines cannot be resolved to a type

routines cannot be resolved to a type

RunStat cannot be resolved to a type

ResumeUtil cannot be resolved

ResumeUtil cannot be resolved

ResumeUtil cannot be resolved

test_import_1.j_src_apps_0_1 cannot be resolved to a type

test_import_1.j_src_apps_0_1 cannot be resolved to a type

routines cannot be resolved to a type

routines cannot be resolved to a type

routines cannot be resolved to a type

RunStat cannot be resolved to a type

ResumeUtil cannot be resolved

ResumeUtil cannot be resolved

ResumeUtil cannot be resolved

test_import_1.j_src_devices_in_locations_0_1 cannot be resolved to a type

test_import_1.j_src_devices_in_locations_0_1 cannot be resolved to a type

routines cannot be resolved to a type

routines cannot be resolved to a type

routines cannot be resolved to a type

RunStat cannot be resolved to a type

ResumeUtil cannot be resolved

ResumeUtil cannot be resolved

ResumeUtil cannot be resolved

test_import_1.j_src_locations_0_1 cannot be resolved to a type

test_import_1.j_src_locations_0_1 cannot be resolved to a type

routines cannot be resolved to a type

routines cannot be resolved to a type

routines cannot be resolved to a type

ResumeUtil cannot be resolved to a type

RunStat cannot be resolved to a type

RunStat cannot be resolved to a type

ResumeUtil cannot be resolved

ResumeUtil cannot be resolved

ResumeUtil cannot be resolved

test_import_1.j_country_city_load_0_1 cannot be resolved to a type

test_import_1.j_country_city_load_0_1 cannot be resolved to a type

routines cannot be resolved to a type

routines cannot be resolved to a type

routines cannot be resolved to a type

RunStat cannot be resolved to a type

ResumeUtil cannot be resolved

ResumeUtil cannot be resolved

ResumeUtil cannot be resolved

test_import_1.j_src_tags_in_device_0_1 cannot be resolved to a type

test_import_1.j_src_tags_in_device_0_1 cannot be resolved to a type

routines cannot be resolved to a type

routines cannot be resolved to a type

routines cannot be resolved to a type

RunStat cannot be resolved to a type

ResumeUtil cannot be resolved

ResumeUtil cannot be resolved

ResumeUtil cannot be resolved

test_import_1.j_src_vulnerabilities_in_devices_0_1 cannot be resolved to a type

test_import_1.j_src_vulnerabilities_in_devices_0_1 cannot be resolved to a type

ResumeUtil cannot be resolved

TalendString cannot be resolved

ResumeUtil cannot be resolved to a type

 

at test_import_1.src_orchestration_0_1.SRC_Orchestration.<init>(SRC_Orchestration.java:20)

at test_import_1.master_wf_0_1.Master_WF.tRunJob_1Process(Master_WF.java:518)

 

Labels (3)
1 Solution

Accepted Solutions
marcio_lopes
Contributor III
Contributor III

After write the post above, I find a possible solution

 

In the Talend Open Studio, Go to menu File -> Edit Project properties

 

In project Settings go to:
Build -> Maven -> Default -> Project

And click OK

 

 

It should show you a Question about update all poms, just answer yes and it should work.

 

 

View solution in original post

6 Replies
Anonymous
Not applicable
Author

Hello,

Did you get this issue on talend open studio or subscription solution with commandline?

Are you using JDK 1.8 on the same machine? It seems this is due the difference is generation of routines.jar for custom routines.

Best regards

Sabrina

Éric
Contributor II
Contributor II

Same problem here.
I'm using TOS-DI 7.0.1.
I have only one JDK 1.8 on my host.
Éric
Contributor II
Contributor II

I think I've found something:
With the exact same problem, I opened the job where the exception was raised (in your case, SRC_Orchestration). I switched to the "code" tab. From the import line, everything was underlined in red. Some seconds later, all compilation errors disappeared. I launched the main job again, and the unresolved compilation problems weren't there anymore.

So it seems you have to open all your imported jobs in the editor so that some link is rebuilt...
marcio_lopes
Contributor III
Contributor III

Hello,

 

I have the same problem, but none of the JOBs work. 

 

I get the same error if I delete the poms folder and import the JOB. I believe in this case it should recreate every dependence and work fine, but that is not happening.

 

Any suggestions on recreate the maven dependencies ?

 

PS: the above solution "So it seems you have to open all your imported jobs in the editor so that some link is rebuilt..." don't work for me 0683p000009MPcz.png

Thanks in advance

marcio_lopes
Contributor III
Contributor III

After write the post above, I find a possible solution

 

In the Talend Open Studio, Go to menu File -> Edit Project properties

 

In project Settings go to:
Build -> Maven -> Default -> Project

And click OK

 

 

It should show you a Question about update all poms, just answer yes and it should work.

 

 

Anonymous
Not applicable
Author

Hello,
I had the same problem. Thanks for this solution, it worked.