the maven jar package depends on conflict resolution version

Transitive dependencies in the package version conflicts
Here Insert Picture Description

Regulating principles:
1 path recently, the principle of priority
if the use is version 4.2.4, you can manually add their own dependencies
Here Insert Picture Description
that this time used the jar is spring-beans 4.2.4
2 first declaration takes precedence over the principles
to be used jar package version in front of the
Here Insert Picture Description
exclusion principle:
Here Insert Picture Description
version lock principle
to add the following content in front of the configuration file, lock spring-beans version
Here Insert Picture Description
if there are multiple versions need to be locked jar package can extract variables
Here Insert Picture Description
so that the following are the introduction of these jar package can not written version number.

Released five original articles · won praise 1 · views 441

Guess you like

Origin blog.csdn.net/L36_2587/article/details/104428554