JimBlog

maven依赖冲突的几种方法JimBlog, 极客分享,编程,项目管理,程序员周边,App使用技巧.

  • Blog
  • Photos
  • About
  • Meditations
  • RSS
  • Search

maven依赖冲突的几种方法

JimYan

JimYan

 / 
Jun 16, 2022

技术&产品

date
Jun 17, 2022
tags
技术&产品
type
Post
status
Published
Last edited time
Feb 9, 2023 10:04 AM
  1. 第一声明优先
  1. 就近原则
    1. 直接依赖高于传递依赖
  1. 排除依赖
  1. 锁定版本
 

引用

maven dependency conflicts and Solutions
Dependency conflict refers to a jar package on which the project depends, which has multiple versions, thus causing a class package version conflict Dependency conflicts are often caused by indirect dependencies between class packages.
https://www.fatalerrors.org/a/maven-dependency-conflicts-and-solutions.html#:~:text=Dependency%20conflicts%20are%20often%20caused%20by%20indirect%20dependencies,indirectly%20by%20maven%2C%20resulting%20in%20class%20package%20conflict
maven dependency conflicts and Solutions
引用

© JimYan 2023 - 2025