“The POM for … is missing, no dependency information available” even though it exists in Maven Repository

前端 未结 7 1748
感情败类
感情败类 2020-12-09 07:54

Problem:

A dependency will not download even though I copied it from the Maven Repository.

When I hover over the dependency in Eclipse, it w

7条回答
  •  渐次进展
    2020-12-09 08:29

    I had a similar problem quite recently. In my case:

    1. I downloaded an artifact from some less popular Maven repo

    2. This repo dissappeared over this year

    3. Now builds fail, even if I have this artifact and its pom.xml in my local repo

    Workaround:

    delete .remote.repositories file in your local repo, where this artifact resides. Now the project builds.

提交回复
热议问题