Maven failing to download jar dependencies

前端 未结 7 758
春和景丽
春和景丽 2020-12-09 14:52

I have a very simple default application that I\'ve created to test my Eclipse Indigo/Maven v3.0.1 setup on my Windows 7 machine. The Hello World app runs fine from Eclipse

7条回答
  •  清歌不尽
    2020-12-09 15:18

    Well for what it's worth, here's the answer to what I've been experiencing.

    If I leave Maven at v3.0.1 I have to add the mirror listed above and it works fine.

    If I upgrade Maven to v3.0.3 then I have to remove the mirror listed above to make it work. :-)

    I tried this on two separate machines and had identical behaviour. This could mean the network here is to blame as they both go through the same router.

    Anyway, so there's essentially two workarounds there. I'm not sure if either are the "correct" response, but they keep me moving forward at least.

    Thanks to all that submitted answers.

提交回复
热议问题