美文网首页
java web 引入了多个包

java web 引入了多个包

作者: feng_wy | 来源:发表于2020-04-24 16:46 被阅读0次

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,去除重复的版本

相关文章

网友评论

      本文标题:java web 引入了多个包

      本文链接:https://www.haomeiwen.com/subject/pzgfwhtx.html