当前位置:网站首页>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 .
边栏推荐
- (Wanzi essence knowledge summary) basic knowledge of shell script programming
- Golang MD5 encryption and MD5 salt value encryption
- 全方位解读服务网格(Service Mesh)的背景和概念
- Make p12 certificate [easy to understand]
- 数组和链表的区别浅析
- 奥比中光 astra: Could not open “2bc5/[email protected]/6“: Failed to set USB interface
- Experiment collection of University "Fundamentals of circuit analysis". Experiment 7 - Research on sinusoidal steady-state circuit
- XPT2046 四线电阻式触摸屏
- 仙人掌之歌——投石问路(3)
- Postgressql stream replication active / standby switchover primary database no read / write downtime scenario
猜你喜欢
Application of visualization technology in Nebula graph
数仓中的维度表与事实表
已知兩種遍曆序列構造二叉樹
Teach you how to build virtual machines locally and deploy microservices
如何实现十亿级离线 CSV 导入 Nebula Graph
Boot 事务使用
Nebula Graph & 数仓血缘关系数据的存储与读写
Aiko ai Frontier promotion (7.2)
The outline dimension function application of small motherboard
图数据库|Nebula Graph v3.1.0 性能报告
随机推荐
Crawl the information of national colleges and universities in 1 minute and make it into a large screen for visualization!
PTA ladder game exercise set l2-001 inter city emergency rescue
爱可可AI前沿推介(7.2)
《大学“电路分析基础”课程实验合集.实验四》丨线性电路特性的研究
Finally, I understand the event loop, synchronous / asynchronous, micro task / macro task, and operation mechanism in JS (with test questions attached)
Make p12 certificate [easy to understand]
Add an empty column to spark dataframe - add an empty column to spark dataframe
《大学“电路分析基础”课程实验合集.实验七》丨正弦稳态电路的研究
6091. 划分数组使最大差为 K
/bin/ld: 找不到 -lcrypto
Golang MD5 encryption and MD5 salt value encryption
/Bin/ld: cannot find -lpam
Introduction to dynamic planning I, BFS of queue (70.121.279.200)
Moveit 避障路径规划 demo
Ant group's large-scale map computing system tugraph passed the national evaluation
(Wanzi essence knowledge summary) basic knowledge of shell script programming
6092. Replace elements in the array
Why does the system convert the temp environment variable to a short file name?
/Bin/ld: cannot find -lgssapi_ krb5
Target detection - make your own deep learning target detection data set with labelimg