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的问题。
解决方式
- 删除本地maven仓库
- Maven - Update Project (idea上右侧栏Maven project那个栏,按刷新按钮,等待下载)
- 不要浪费时间了,更换同事的maven仓库吧(最好的解决方式)