当前位置:网站首页>Idea jar package conflict troubleshooting
Idea jar package conflict troubleshooting
2022-07-02 15:54:00 【lvhui321】
stay Java Project under development ,jar Package conflict is a common problem , It is very important to quickly locate the conflict location . The traditional way of positioning mainly adopts idea Self contained Diagrams plug-in unit , because jar Dependency is shown in charts , Lead to complicated quotation , It is often time-consuming and laborious to check ; Today, let's introduce a more conducive to rapid positioning jar Package conflicting plug-ins Maven Helper.
1.Maven Helper install , download Maven Helper

2.Maven Helper installation is complete

3.Maven Helper Use , open pom.xml file , Point lower left corner Dependency Analyzer

4. Conflicts Display conflict , Conflict related jar Show on the right , If there is a conflict on the right , You can right-click Exclude To exclude

5.All Dependencies as List Show a list of all dependencies ,Show GroupId Exhibition jar package GroupId,Show Size Exhibition jar Bag size ,All Dependencies as Tree Exhibition jar Package dependency tree .
6.jar Common exceptions to package conflicts
When the following exceptions occur , if clean jar The project cannot be successfully started after the package , You can consider whether there is jar Packet collision .NoDefClassException、ClassNotFoundException、NoSuchMethodError、NoSuchFieldError;
These exceptions may be references to previous versions jar package , The new version of the jar Upgrade and deploy after , Path to class 、 name 、 Field changes , As a result, it cannot be loaded into the desired class or method .
边栏推荐
猜你喜欢

全是精华的模电专题复习资料:基本放大电路知识点

Comment réaliser un graphique Nebula d'importation CSV hors ligne de niveau milliard

已知兩種遍曆序列構造二叉樹

爱可可AI前沿推介(7.2)

基于 Nebula Graph 构建百亿关系知识图谱实践

Introduction to Dynamic Planning II (5.647.62)

Deux séquences ergodiques connues pour construire des arbres binaires

中科大脑知识图谱平台建设及业务实践

动态规划入门二(5.647.62)

树-二叉搜索树
随机推荐
图数据库|Nebula Graph v3.1.0 性能报告
Cultural scores of summer college entrance examination
【题解】Educational Codeforces Round 82
Pyobject to char* (string)
/Bin/ld: cannot find -lxml2
6096. Success logarithm of spells and potions
C # get PLC information (kepserver) II
How to import a billion level offline CSV into Nepal graph
fastjson List转JSONArray以及JSONArray转List「建议收藏」
可视化技术在 Nebula Graph 中的应用
[salesforce] how to confirm your salesforce version?
华为云服务器安装mysqlb for mysqld.service failed because the control process exited with error code.See “sys
/bin/ld: 找不到 -lxml2
[experience cloud] how to get the metadata of experience cloud in vscode
Moveit 避障路径规划 demo
6096. 咒语和药水的成功对数
二叉树前,中,后序遍历
Xpt2046 four wire resistive touch screen
Jsp+mysql006 community management system
6092. Replace elements in the array