File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Ant, Maven and Other Build Tools and the fly likes Maven dependency problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Maven dependency problem" Watch "Maven dependency problem" New topic

Maven dependency problem

Raaja Gotluru
Ranch Hand

Joined: Mar 02, 2010
Posts: 118

I am trying struts-spring-hibernate integration example with maven I am trying to download the dependencies but its showing some errors please guide me why Iam getting this error.

My pom file is

the error I am getting is

Peter Johnson

Joined: May 14, 2008
Posts: 5852

What repository have you configured in your settings.xml? It looks like you set up a specific repository and are no longer allowing access to Maven Central.

JBoss In Action
Saif Asif
Ranch Hand

Joined: Aug 11, 2011
Posts: 440

can you verify that you are not using in OFFLINE mode ?

Muhammad Saif Asif Mirza
Raaja Gotluru
Ranch Hand

Joined: Mar 02, 2010
Posts: 118

Thanks for the replies. I dont know what is the problem but I solved it using command prompt by executing mvn clean and mvn eclipse:eclipse commands.
I agree. Here's the link:
subject: Maven dependency problem
It's not a secret anymore!