Error with tRunJob Cannot access central (http://repo.maven.apache.org/maven2) in offline mode

Six Stars

Error with tRunJob Cannot access central (http://repo.maven.apache.org/maven2) in offline mode

Hi,

I am getting error with tRunJob. When I run a single job independently, it is running well.

But when I put tRunJob to call another job, it started giving error.

error: Cannot access central (http://repo.maven.apache.org/maven2) in offline mode and the artifact org.example.uba_upgrade_masking:code.MasterSmiley Tongueom:7.0.1 has not been downloaded from it before.

both parent and child jobs are running when I run independent.

below is the error.

ErrorWithtRunJob.PNG

More info: We recently upgrade to 7.0.1 from 6.5. We are using subscription version of talend cloud.

 

Need help!

 

Six Stars

Re: Error with tRunJob Cannot access central (http://repo.maven.apache.org/maven2) in offline mode

Your help will be appreciated.
I am facing this issue now for more than 10 days.
Thanks!
Employee

Re: Error with tRunJob Cannot access central (http://repo.maven.apache.org/maven2) in offline mode

Can you search your studio for the following name under your /studio directory. This is a folder and a jar file that you should be able to download from the internet as I have this jar present under my studio build.

studio\configuration\.m2\repository\org\example\local_project\code\routines\7.0.1\routines-7.0.1.jar

You can go to the studio and user the Help drop down menu and then select to install additional packages and from there we should be able to download it. If you are unable to download the package that is in the error log because the pop-up window to install additional packages states network unavailable or another error please provide it back as it appears that you may just need to complete a proxy configuration or open the network for one of the following sites to download and use the missing packages to build your job in question. 

Port information - Includes all of the sites that need to be whitelisted
https://help.talend.com/reader/NkKh400tF3Z4O8jjJ23uUQ/BsWPjPO6nBNfQEINUA8vfw

In addition another troubleshooting step is you could delete the configuration/.m2 and re-download the jar files which the one that is the issue in this scenario is your routines jar file. 

 

Six Stars

Re: Error with tRunJob Cannot access central (http://repo.maven.apache.org/maven2) in offline mode

@Vishu  - Where you able to solve the issue. I am getting a similar issue,

 

[ERROR] Failed to execute goal on project Job_Sqoop: Could not resolve dependencies for project org.example.pldata_newco.job:Job_Sqoop:jar:0.1.0: Cannot access central (http://repo.maven.apache.org/maven2) in offline mode and the artifact org.talend.libraries:avro-1.8.0:jar:6.0.0 has not been downloaded from it before. -> [Help 1]

 


@xdshi - Can you help me with this error.  

 

 

Moderator

Re: Error with tRunJob Cannot access central (http://repo.maven.apache.org/maven2) in offline mode

Hello @Gopik 

Have you already checked this online installation guide about:TalendHelpCenter:Installing external modules?

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.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Talend Cloud Developer Series – Fetching Studio License

This video will help someone new to using Talend Studio get started by connecting to Talend Cloud and fetching the Studio License

Watch Now

Talend Cloud Developer Series - Introduction

The Talend Cloud Developer Series was created to give you a solid foundational understanding of Talend’s Cloud Integration Platform

Watch Now

Talend Cloud Available on Microsoft Azure

An integration platform-as-a-serviceto help enterprises collect, govern, transform, and share data from any data sources

Watch Now