且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Maven找不到依赖项[dependencyResolutionException]

更新时间:2021-10-07 05:53:50

第一行正在下载:..."仅表示maven尝试下载工件.这不是关于成功的声明.如果maven成功,您将获得另一行以"Downloaded:..."开头

The first line "Downloading:..." only says that maven tries to download the artifact. It is no statement about success. If maven is successful you will get another line starting with "Downloaded: ..."

因此,在您的情况下,maven无法下载文件.在浏览器中检查记录的URL是否存在以及是否受保护.

So in your case maven was not able to download the file. Check the logged url in your browser if it does exist and if it is protected.

BTW <updatePolicy>always</updatePolicy>对于发行版回购相当少见,因为发行版不应再更改.

BTW <updatePolicy>always</updatePolicy> is quite uncommon for release repos, because releases should not change any more.