dependencies.dependency.(groupId:artifactId:type:classifier)‘ must be unique: com.duo:duo-shop

引续

'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.duo:duo-shop:jar -> version (?) vs 3.8.5 @ line 71, column 21
It is highly recommended to fix these problems because they threaten the stability of your build.
For this reason, future Maven versions might no longer support building such malformed projects.

纠错

若依框架更换包名的时候,编译打包时候,出现上述错误。经分析判断,模块里引入了两次同样的库造成的。删除后即可正常。

你可能感兴趣的:(开发语言,java)