美文网首页Maven
Maven打包失败

Maven打包失败

作者: 王勇1024 | 来源:发表于2019-01-04 11:02 被阅读5次

执行mvc package命令时报错如下错误:

[ERROR] Failed to execute goal on project alpha-scheduler: Could not resolve dependencies for project com.yidian.data:alpha-scheduler:jar:0.0.1-SNAPSHOT: Failure to find com.yidian.data:alpha-commons:jar:0.0.1-20190104.022416-2 in http://artifactory.yidian.com:8081/artifactory/libs-snapshot was cached in the local repository, resolution will not be reattempted until the update interval of snapshots has elapsed or updates are forced -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

原因

在快照的更新间隔过去或强制更新之前,不会重新尝试解析

解决方案

删除本地已存在的快照包

相关文章

  • maven 打包失败

    问题及原因今天在测试使用Spring BOM的时候,总发现项目无法打包成功。查看Maven的错误日志发现: 随即在...

  • Maven打包失败

    执行mvc package命令时报错如下错误: 原因 在快照的更新间隔过去或强制更新之前,不会重新尝试解析 解决方...

  • maven打包失败

    maven打包失败 提示找不到main方法 [ERROR] Failed to execute goal org....

  • maven打包失败

    git directory could not bu found! Please specify a valid ...

  • IDEA 打包-配置Maven环境

    有时候打包失败,报错:Cannot resolve plugin org.apache.maven.plugins...

  • 使用maven:3-jdk-8打包报maven-default-

    报错: Dockerfile: 之前一直没问题,最近打包失败 原因:https://maven.apache.or...

  • Flutter踩坑记录

    安卓打包失败 如果遇到failed to respond,如果gradle里配置的是google()和maven(...

  • Maven 打包常用命令

    maven command 打包 打包跳过测试 打包指定环境 maven 打包 启动jar指定环境

  • maven打包报错Received fatal alert: p

    今天打包突然发现,maven的中央仓库下载pom文件失败,报错行最后的信息是 Could not transfer...

  • maven项目的聚合、SpringBoot

    1、maven聚合项目 1.1 maven项目的打包方式 maven项目的打包方式:jar、war、pom。默认的...

网友评论

    本文标题:Maven打包失败

    本文链接:https://www.haomeiwen.com/subject/ubrhrqtx.html