Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the problem of jar conflict in maven Project

2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article mainly explains "how to solve the problem of jar conflict in maven project". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to solve the problem of jar conflict in maven project".

In the process of development, we will inevitably encounter a variety of jar package conflicts, if we do not master the solution, we will report errors again and again! The following recommends a plug-in for IDEA-- Maven Helper

There are two ways to install

One is the automatic installation of IDEA, but after testing with my IDEA 2017.03 version, the installation has no effect. Therefore, it is not recommended.

The other is to download the Maven Helper plug-in from the official website and install it manually.

Let's start with the text.

Install and download offline plug-in package

Download from the official website of the Maven Helper plugin

Pay attention to your IDEA version

Install offline installation package

1. Load the offline installation package in IDEA

2. Restart IDEA

Use

If you enter the pom.xml file, you will find that there is an extra box below.

Click

Let's start to solve the problem of jar package conflicts. I'll take the jar package conflicts in Spark SQL as an example.

Check the conflicting jar packages below the Conflicts

Check the conflicting version on the right side of janino, select and Exclude

Click Refresh and find that the conflicting jar package has no janino. Click Refresh and find that there is no janino in the conflicting jar package.

Thank you for reading, the above is the content of "how to solve the problem of jar conflict in maven project". After the study of this article, I believe you have a deeper understanding of how to solve the problem of jar conflict in maven project, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report