• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Maven Error - could not resolve dependencies for project

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hi ,

I am following the steps given at :

http://seleniumhq.org/docs/03_webdriver.jsp#java

When I run 'mvn clean install' , I get following error :

[ERROR] Failed to execute goal on project MySel20Proj: Could not resolve dependencies for project MySel20Proj:MySel20Proj:jar:1.0: Failed to collect dependencies for [org.seleniumhq.selenium:selenium-java:jar:2.28.0 (compile), com.opera:operadriver:jar:1.1 (compile)]: Failed to read artifact descriptor for org.webbitserver:webbit:jar:0.4.14: Could not transfer artifact org.sonatype.oss:oss-parent:pom:6 from/to central (http://repo.maven.apache.org/maven2): Read timed out -> [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

I am new to Maven and hence need some help to solve this .
Do I need to change my pom.xml ?

Thanks a lot .
 
Rancher
Posts: 2759
32
Eclipse IDE Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you post a few more lines from the log before that error? You will see logs where it says that it is trying to download dependencies from the maven repo. Does it say its successful? If not, can you try copying that URL and pasting into your web browser?

The problem could be that you are unable to connect to the maven repo, so the build cannot download the dependency. It could be a network glitch or a persistent problem. You will have to first check if you are able to connect to the repo.
 
ParagM Pmahajan
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Looks like it was a network issue , I tried again and it was successful !
Thanks anyways for your help.
 
You firghten me terribly. I would like to go home now. Here, take this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic