my dog learned polymorphism*
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
Author

Maven dependency problem

Raaja Gotluru
Ranch Hand

Joined: Mar 02, 2010
Posts: 108
Hi,

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



Thanks
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

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
OCJA(5/6) OCJP(6) OCJWCD(6)
Raaja Gotluru
Ranch Hand

Joined: Mar 02, 2010
Posts: 108
Hi,

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Maven dependency problem
 
Similar Threads
java.util.MissingResourceException: Can't find bundle for base name in JSF Spring Maven project
Spring Major version '3' expected
Richfaces + Spring + Maven Setup help
Could not resolve dependencies for maven project
Unable to create one single jar file in maven with dependencies included inside