当前位置:网站首页>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 .
边栏推荐
- For the problem that Folium map cannot be displayed, the temporary solution is as follows
- Ant group's large-scale map computing system tugraph passed the national evaluation
- Aike AI frontier promotion (7.2)
- beforeEach
- 树-二叉搜索树
- (万字精华知识总结)Shell脚本编程基础知识
- 制作p12证书[通俗易懂]
- 已知兩種遍曆序列構造二叉樹
- 2278. Percentage of letters in string
- 2278. 字母在字符串中的百分比
猜你喜欢

爱可可AI前沿推介(7.2)

Why does the system convert the temp environment variable to a short file name?

Deux séquences ergodiques connues pour construire des arbres binaires

Aike AI frontier promotion (7.2)

【Salesforce】如何确认你的Salesforce版本?
![[leetcode] 417 - Pacific Atlantic current problem](/img/30/c541bc1e81eb4e348ca11116a05e84.png)
[leetcode] 417 - Pacific Atlantic current problem

Pattern matching extraction of specific subgraphs in graphx graph Computing Practice

智联招聘的基于 Nebula Graph 的推荐实践分享

动态规划入门二(5.647.62)

《大学“电路分析基础”课程实验合集.实验四》丨线性电路特性的研究
随机推荐
Invalid bound statement (not found)解决方法总结
Xpt2046 four wire resistive touch screen
idea 公共方法抽取快捷键
Golang MD5 encryption and MD5 salt value encryption
SQL修改语句
SQL FOREIGN KEY
XPT2046 四线电阻式触摸屏
Crawl the information of national colleges and universities in 1 minute and make it into a large screen for visualization!
愛可可AI前沿推介(7.2)
/bin/ld: 找不到 -lxml2
Comment réaliser un graphique Nebula d'importation CSV hors ligne de niveau milliard
基于 Nebula Graph 构建百亿关系知识图谱实践
/Bin/ld: cannot find -lcrypto
6095. Strong password checker II
华为云服务器安装mysqlb for mysqld.service failed because the control process exited with error code.See “sys
使用 percona 工具给 MySQL 表加字段中断后该如何操作
6092. Replace elements in the array
Moveit 避障路径规划 demo
College entrance examination admission score line climbing
PTA ladder game exercise set l2-001 inter city emergency rescue