Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Vishu1
Contributor III
Contributor III

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.Master0683p000009MAB6.pngom: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.

0683p000009M0De.png

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

 

Need help!

 

Labels (2)
8 Replies
Vishu1
Contributor III
Contributor III
Author

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

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. 

 

Anonymous
Not applicable

@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.  

 

 

Anonymous
Not applicable

Hello @Gopik 

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

Best regards

Sabrina

KBitting1613766481
Contributor
Contributor

It there a solution to this error, I getting the same error.

sanjeevini
Contributor III
Contributor III

The Above link is not available .. can you share the details.

I am also facing same issue - Cannot access central (https://repo1.maven.org/maven2/) in offline mode

Anonymous
Not applicable

Hello @Sanjeevini Patil​ 

Here is the link for installing external modules

https://help.talend.com/r/en-US/8.0/studio-user-guide/installing-external-modules

What talend build version are you using? open studio for subscription solution?

Best regards

Sabrina

jlolling
Creator III
Creator III

The libs with the groupId org.talend.libraries are not part of the Maven Central repository. They came from a Talend hosted Nexus repository. It looks like the Talend repo is also not used in the offline mode.