开发工具:idea
必需插件:maven helper
1、查看pom.xml文件jar包依赖树
打开pom右击,按下图点击查看依赖树。
【idea】jar包依赖冲突解决
依赖图:
【idea】jar包依赖冲突解决
2、冲突解决
2.1、使用maven helper 解决 。
【idea】jar包依赖冲突解决
打开pom 左下角找到上图红框中按钮。下图是存在冲突的。
在红色字体右击, 选择“Exclude”。排除存在冲突的jar.
【idea】jar包依赖冲突解决
解决效果:
1、pom:
【idea】jar包依赖冲突解决
2.【idea】jar包依赖冲突解决

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-28
  • 2021-07-21
  • 2021-07-12
  • 2021-03-26
  • 2022-01-06
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-04-22
  • 2021-09-22
  • 2021-05-11
  • 2022-12-23
  • 2021-11-20
相关资源
相似解决方案