maven The groupId cannot be empty

For artifact {null:*******:1.0.0:jar} The groupId cannot be empty踩坑提醒

maven The groupId cannot be empty

  1. 首先确定你是否有指定
    <artifactId>boss-sdk</artifactId>
    <version>1.0.0</version>
    <groupId>com.shop</groupId><!-- 如果未指定groupId,你可能会在这个问题上毫无头绪-->
    <packaging>jar</packaging>
  2. 删除本地maven仓库,如:.m2/repository; 把整个repository文件夹删除
    maven The groupId cannot be empty
  3. 把maven中添加的依赖重新导入
    maven The groupId cannot be empty
    #自己踩的坑,留个笔记