Tag

JAR conflict

0 views collected around this technical thread.

Cognitive Technology Team
Cognitive Technology Team
Jul 23, 2023 · Backend Development

How to Resolve Maven JAR Dependency Conflicts

This article explains common Maven JAR dependency conflict scenarios and presents four practical solutions—including using Exclusions, configuring dependency scopes, applying the Maven Shade plugin for class relocation, and employing class‑loader isolation strategies—to help developers choose the appropriate method for their build and runtime environments.

ClassLoaderExclusionsJAR conflict
0 likes · 4 min read
How to Resolve Maven JAR Dependency Conflicts
vivo Internet Technology
vivo Internet Technology
Dec 22, 2021 · Backend Development

Resolving Incompatible Jar Dependency Conflicts with Maven Shade Plugin

The article explains how incompatible JAR versions, such as differing Guava releases required by business code and middleware, can be resolved efficiently by using Maven Shade Plugin to relocate packages, offering a lightweight alternative to heavyweight class‑loader isolation solutions like Pandora or SOFAArk.

Classloader IsolationJAR conflictJava
0 likes · 11 min read
Resolving Incompatible Jar Dependency Conflicts with Maven Shade Plugin