全部建议 > 建议详情
  • 预审中
  • 2 预审不通过

【产品缺陷】maven镜像某些包返回404 预审不通过 编辑 删除

  • 华为开源镜像站 Mirrors
  • 软件开发生产线 CodeArts

问题描述:

某些maven仓库的地址返回404,但是上级目录却存在,如以下的错误信息(从gradle报出):



FAILURE: Build failed with an exception.


* What went wrong:

A problem occurred configuring root project 'backend'.

> Could not resolve all dependencies for configuration ':classpath'.

   > Could not find gradle.plugin.com.energizedwork:idea-gradle-plugins:1.4.

     Searched in the following locations:

         https://repo.huaweicloud.com/repository/maven/gradle/plugin/com/energizedwork/idea-gradle-plugins/1.4/idea-gradle-plugins-1.4.pom

         https://repo.huaweicloud.com/repository/maven/gradle/plugin/com/energizedwork/idea-gradle-plugins/1.4/idea-gradle-plugins-1.4.jar

     Required by:

         project :

   > Could not find org.grails.plugins:hibernate5:6.1.8.

     Searched in the following locations:

         https://repo.huaweicloud.com/repository/maven/org/grails/plugins/hibernate5/6.1.8/hibernate5-6.1.8.pom

         https://repo.huaweicloud.com/repository/maven/org/grails/plugins/hibernate5/6.1.8/hibernate5-6.1.8.jar

     Required by:

         project :

   > Could not find org.grails.plugins:views-gradle:1.2.6.

     Searched in the following locations:

         https://repo.huaweicloud.com/repository/maven/org/grails/plugins/views-gradle/1.2.6/views-gradle-1.2.6.pom

         https://repo.huaweicloud.com/repository/maven/org/grails/plugins/views-gradle/1.2.6/views-gradle-1.2.6.jar

     Required by:

         project :

   > Could not find org.grails.plugins:database-migration:3.0.3.

     Searched in the following locations:

         https://repo.huaweicloud.com/repository/maven/org/grails/plugins/database-migration/3.0.3/database-migration-3.0.3.pom

         https://repo.huaweicloud.com/repository/maven/org/grails/plugins/database-migration/3.0.3/database-migration-3.0.3.jar

     Required by:

         project :


* Try:

Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.


BUILD FAILED


Total time: 33.051 secs



这些地址都会返回404,但是打开上一级目录(如:https://repo.huaweicloud.com/repository/maven/org/grails/plugins/database-migration/3.0.3/ )却是可以列出目录下文件的,但是点击任意一个文件都会404



建议方案:

检查404的原因并修复

FengYu FengYu 发布于 2020-08-25 21:10:35 2020-08-25

56 1

100%
1人赞同
0%
0人不赞同

全部评论(1

评论(1

  • 【云声小管家】 思雨 2020-08-27 16:51:22

    非常抱歉给您带来这么多不便,技术问题,需复现问题场景,建议您可通过提交工单解决,会有专业工程师对接,紧急情况下可以拨打4000-955-988求助客服。
    若有关于华为云产品的功能、用户体验、产品缺陷等建议,可通过云声平台提出,我们会尽快确认后并给您回复。再次感谢您的支持与关注!

登录后可评论,请 注册

0/1000

+ 插入图片0/4

仅支持JPG、JPEG、PNG、GIF,数量不超过4张且每张大小不超过2MB

评论
发表评论...
取消 发表

0/1000

评论成功

+ 插入图片0/4

仅支持JPG、JPEG、PNG、GIF,数量不超过4张且每张大小不超过2MB

删除建议

设置昵称

在此一键设置昵称,即可发表云声建议!

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。