Maven package error: An attached artifact must have a different ID than its corresponding main artifact

后端 未结 4 953
你的背包
你的背包 2021-02-19 16:24

Geting this error on: mvn package

It fails to build every time with the same error, I\'ve tried renaming the artifact, as well as changing dependencies for build in the

4条回答
  •  深忆病人
    2021-02-19 16:57

    As Dimitri suggested, I solved this by adding classifier to spring-boot-maven-plugin:

    
        org.springframework.boot
        spring-boot-maven-plugin
        
            boot
        
    
    

提交回复
热议问题