当前位置:网站首页>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 .
边栏推荐
猜你喜欢
Deux séquences ergodiques connues pour construire des arbres binaires
Nebula Graph & 数仓血缘关系数据的存储与读写
Two traversal sequences are known to construct binary trees
How to import a billion level offline CSV into Nepal graph
Experiment collection of University "Fundamentals of circuit analysis". Experiment 7 - Research on sinusoidal steady-state circuit
Pattern matching extraction of specific subgraphs in graphx graph Computing Practice
[salesforce] how to confirm your salesforce version?
[development environment] install Visual Studio Ultimate 2013 development environment (download software | install software | run software)
Soul torture, what is AQS???
Traversal before, during and after binary tree
随机推荐
Flink real-time data warehouse (IX): incremental synchronization of data in MySQL
数据库系统概论第一章简答题-期末考得怎么样?
使用FFmpeg命令行进行UDP、RTP推流(H264、TS),ffplay接收
(5) Flink's table API and SQL update mode and Kafka connector case
Comment réaliser un graphique Nebula d'importation CSV hors ligne de niveau milliard
Comparison between rstan Bayesian regression model and standard linear regression model of R language MCMC
Application of visualization technology in Nebula graph
List of sergeant schools
Experiment collection of University Course "Fundamentals of circuit analysis". Experiment 5 - Research on equivalent circuit of linear active two terminal network
【小白聊云】中小企业容器化改造建议
Invalid bound statement (not found)解决方法总结
爱可可AI前沿推介(7.2)
【5G NR】RRC连接释放
Floyed "suggestions collection"
matlab中wavedec2,说说wavedec2函数[通俗易懂]
2303. Calculate the total tax payable
fastjson List转JSONArray以及JSONArray转List「建议收藏」
PTA ladder game exercise set l2-001 inter city emergency rescue
2279. 装满石头的背包的最大数量
6090. 极大极小游戏