Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!

Cannot publish a Job to Talend Cloud from Talend Studio

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Brian_Chan
Support
Support

Cannot publish a Job to Talend Cloud from Talend Studio

Last Update:

Aug 30, 2024 3:36:03 AM

Updated By:

Shicong_Hong

Created date:

Aug 30, 2024 3:31:23 AM

Cannot publish a Job to Talend Cloud from Talend Studio, the following message appears on the pop-up in Talend Studio:

Could not resolve dependencies for project <Project>.job:<JOB>:jar:0.1.0: The following artifacts could not be resolved: <Project>_jobs.code:routines:jar:8.0.1 (absent): Cannot access central (https://repo1.maven.org/maven2/) in offline mode and the artifact org.example.mse_jobs.code:routines:jar:8.0.1 has not been downloaded from it before. -> [Help 1]

 

Cause

Cause 1

  • Talend Studio is missing dependencies and is unable to find them in the local .m2 folder.


Cause 2

  • Talend Studio was recently patched to a recent version that requires Java 17, but it is still running with an older version of Java, which is preventing successful publishing.

 

Resolution

Solution 1

  • In Talend Studio, click Windows> Preferences > Talend > Specific Settings > Maven and uncheck "Offline" checkbox.

Solution 2

  • Ensure Talend Studio is started with the proper Java version (8.0.1-R2024-05 Talend Studio monthly update or later requires Java 17).
    Please note that merely editing the <Talend_Studio_Home>/path/Talend-Studio-xxx.ini file may not be sufficient. In cases where you are launching via a Windows/Mac/Linux GUI shortcut, please ensure that the -vm option is configured to point to the Java 17 bin.
  • Restart.
  • Click the Feature Manager button on the top bar and re-patch.

 

Version history
Last update:
‎2024-08-30 03:36 AM
Updated by: