java web 引入了多个包
2020-04-24 本文已影响0人
feng_wy
1.错误信息
Some problems were encountered while building the effective model for org.example:video:war:1.0-SNAPSHOT
'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: junit:junit:jar -> version 4.11 vs 4.12 @ line 75, 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.
2.解决办法
pom.xml 查找junit,去除重复的版本