java web 引入了多个包

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

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • 一. Java基础部分.................................................
    wy_sure阅读 4,098评论 0 11
  • spring官方文档:http://docs.spring.io/spring/docs/current/spri...
    牛马风情阅读 1,872评论 0 3
  • The Basics POM文件包含关于项目的所有必要信息,以及在构建项目过程中使用的插件配置。它是一个对于"wh...
    亼珏阅读 1,966评论 0 2
  • 前言 在Java项目开发中,项目的编译、测试、打包等是比较繁琐的,属于重复劳动的工作,浪费人力和时间成本。以往开发...
    JourWon阅读 1,202评论 0 1
  • Eclipse 创建 maven 项目动态 web 工程 一、操作环境 Eclipse Oxygen 4.7.0e...
    诗歌poetry阅读 1,424评论 0 0

友情链接更多精彩内容