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: 
Anonymous
Not applicable

ERROR] Failed to execute goal on project Check: Could not resolve dependencies for project

I tried to run a standard job after I installed licensed talend 7.2.1 and the job didn't build showing the below error.

 

ERROR] Failed to execute goal on project Check: Could not resolve dependencies for project org.myself.job:Check:jar:0.1.0: Failed to collect dependencies at org.myself.code:routines:jar:7.2.1: Failed to read artifact descriptor for org.myself.code:routines:jar:7.2.1: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.myself:code.Master0683p000009MAB6.pngom:7.2.1 has not been downloaded from it before. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

 

 

Labels (3)
6 Replies
Anonymous
Not applicable
Author

Hello,

Are you able to build it first? Did you do mvn install? Are you using JDK 1.8? Please make sure that the compilation is setup with JDK.

Best regards

Sabrina

Anonymous
Not applicable
Author

Hi,

 

I'm new to talend and I'm facing this issue while I tried to run the demo job in the runtime server. the job is not build. I have JDK 1.8

 

Thanks,

Emmanuvel

powerchip
Contributor
Contributor

Hello,

I had the exact same problem

I renamed the .m2 folder to old.m2 and started again TOS

Now it's ok, so i deleted old.m2

Anonymous
Not applicable
Author

Hi ,

You can try the below steps and check if it resolves the issue:

1. Got to Project settings -> Maven.
2. Run "Force full re-synchronize poms"
3.Then try to run the jobs.

 

Thanks,

Chandan.


FullSync.PNG
sanjeevini
Contributor III
Contributor III

Hi All,

 

I am also facing same issue tried renaming .m2 folder - didnt work and tried force full re-synchronie poms- didnt work.

 

Any other suggestions?

 

Thanks

-Sanjeevini

Anonymous
Not applicable
Author

Hello @Sanjeevini Patil​ 

Could you please clarify in which Talend version/edition you are?

Is your project referenced by multiple reference projects in the main project? Are you getting this issue for all your jobs or a specific one?

Best regards

Sabrina