For artifact {null:null:null:jar}: The groupId cannot be empty构建报错 maven仓库有问题

For artifact {null:null:null:jar}: The groupId cannot be empty构建报错 maven

问题描述

在这里插入图片描述

出现这玩意

[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/MojoExecutionException

毫无疑问,maven仓库有问题 ,jar有问题
坑死了 maven项目在搭建(加载,更新,构建)时,出现For artifact {null:null:null:jar}: The groupId cannot be empty的问题。

解决方式

  1. 删除本地maven仓库
  2. Maven - Update Project (idea上右侧栏Maven project那个栏,按刷新按钮,等待下载)
  3. 不要浪费时间了,更换同事的maven仓库吧(最好的解决方式)
posted @ 2021-07-09 17:19  我有满天星辰  阅读(727)  评论(0编辑  收藏  举报