Resolve Error “ArtifactTransferException: Could not transfer artifact” or “Failure to Transfer” in Maven

This is very short tips to resolve the errors “ArtifactTransferException: Could not transfer artifact” that may occur in Maven project in Eclipse.

Steps to resolve:

  1. Open folder by running this text (without Quotes) in Search Explorer of Window “%USERPROFILE%.m2”.
  2. After running above command, “m2” folder of maven will open. Now search for file (without Quotes) “*.lastUpdated”.
  3. In this step, delete all the files found by running Step 2.
  4. Now go to Eclipse project and select “Maven | Update Dependency” or “Maven | Update Project”.

By now, your issue will be resolved.

Happy Coding !!!

Related posts

15 thoughts on “Resolve Error “ArtifactTransferException: Could not transfer artifact” or “Failure to Transfer” in Maven”

  1. Thank you sooo much. I had a tough time to find a solution for this problem. Your solution resolved my problem. I thank you very much for posting this solution.

  2. I tried your solution.. I tried to delete updated pom and jar files for only 1, it downloaded the pom and jar again but still eclipse says jar file is missing. It has downloaded.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.