Reputation: 713
Hi I am trying to build a maven project. After building initial projects successfully, its failing. The error shows that it failed to collect dependency from a particular location in the local repository.
When I went to that location the jar files are missing in it. So I guess it is supposed to download from the remote repository.
I am wondering whether it fails to download or I am getting anything wrong? Also a few posts suggest to delete the .m2 folder. Will that cause any problems or am I suppose to delete the few folders in it?
Thanks
Upvotes: 0
Views: 49
Reputation: 756
Try to force update dependencies with the switch -U
. At least you can be sure that it is not because of your local error in .m2.
Upvotes: 1