当前位置:网站首页>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 .
边栏推荐
- Pyinstaller's method of packaging pictures attached to exe
- [development environment] install Visual Studio Ultimate 2013 development environment (download software | install software | run software)
- SQL修改语句
- (5) Flink's table API and SQL update mode and Kafka connector case
- ssh/scp 使不提示 All activities are monitored and reported.
- 愛可可AI前沿推介(7.2)
- 蚂蚁集团大规模图计算系统TuGraph通过国家级评测
- (Wanzi essence knowledge summary) basic knowledge of shell script programming
- Solve the problem of base64encoder error
- Tree binary search tree
猜你喜欢

Experiment collection of University "Fundamentals of circuit analysis". Experiment 4 - Research on linear circuit characteristics

《大学“电路分析基础”课程实验合集.实验四》丨线性电路特性的研究

《大学“电路分析基础”课程实验合集.实验六》丨典型信号的观察与测量

Aiko ai Frontier promotion (7.2)

Experiment collection of University Course "Fundamentals of circuit analysis". Experiment 5 - Research on equivalent circuit of linear active two terminal network

Teach you how to build virtual machines locally and deploy microservices

HMS core machine learning service helps zaful users to shop conveniently

隐藏在 Nebula Graph 背后的星辰大海

Tree binary search tree

How to use percona tool to add fields to MySQL table after interruption
随机推荐
/bin/ld: 找不到 -lgssapi_krb5
Boot 事务使用
隐藏在 Nebula Graph 背后的星辰大海
beforeEach
Postgressql stream replication active / standby switchover primary database no read / write downtime scenario
matlab中wavedec2,说说wavedec2函数[通俗易懂]
PostgresSQL 流复制 主备切换 主库无读写宕机场景
愛可可AI前沿推介(7.2)
Digital collection system development (program development) - Digital Collection 3D modeling economic model system development source code
Experiment collection of University Course "Fundamentals of circuit analysis". Experiment 5 - Research on equivalent circuit of linear active two terminal network
图数据库|Nebula Graph v3.1.0 性能报告
制作p12证书[通俗易懂]
Introduction to dynamic planning I, BFS of queue (70.121.279.200)
【5G NR】RRC连接释放
使用FFmpeg命令行进行UDP、RTP推流(H264、TS),ffplay接收
又是一年毕业季
SQL FOREIGN KEY
树-二叉搜索树
【题解】Educational Codeforces Round 82
数字藏品系统开发(程序开发)丨数字藏品3D建模经济模式系统开发源码