Quickly locate jar conflict plugin-maven-dependency-helper

Due to jar conflicts, for example, a project A introduces the jar of another project B, and the mybati versions used by the two projects are inconsistent, which will lead to jar conflicts. For example: B project
uses mybatis 3.3.2 this.count() The return value is integer and project A uses the return value of Long in version 3.5.1
. After Project A introduces B, some codes report an error: the return value is integer and the accepted value is Long

insert image description here

At this time, we can use the plug-in to quickly find the conflicting jar and solve the problem quickly.
The jar conflict can be seen from the figure. We can resolve the conflict by upgrading the relevant package in sungrowpower-goods-api to 3.5.1

The plugin is: maven-dependency-helper

insert image description here

Guess you like

Origin blog.csdn.net/weixin_43866043/article/details/131327396