Tagged articles
Dependency Conflict
14 articles · Page 1 of 1
This guide explains why Maven dependency conflicts cause errors like NoSuchMethodError and ClassNotFoundException, shows step‑by‑step commands to inspect the dependency tree, and provides three practical ways—exclusions, forced versions, and dependencyManagement—to resolve and prevent such conflicts in Java projects.
BOMClassNotFoundExceptionDependency Conflict
0 likes · 7 min read

This guide shows how to view the Maven dependency tree in IntelliJ, use the mvn dependency:tree command, leverage the Maven Helper plugin, identify conflicting JARs, and resolve them with exclusion rules or dependencyManagement to ensure the correct versions are used.
Dependency ConflictIntelliJJava
0 likes · 6 min read

A Java developer recounts how an unexpected Excel export failure was traced to mismatched EasyPOI and Apache POI versions, the impact of Maven's -U flag, and the step‑by‑step resolution involving dependency alignment and careful version selection.
Apache POIDependency ConflictEasyPOI
0 likes · 11 min read

A Java developer added fastjson to a SkyWalking agent for JSON conversion, causing class‑loading conflicts in a SpringBoot 2 application; the article analyzes the root cause, demonstrates debugging steps, explains the parent‑delegation mechanism, and presents solutions using Maven shade relocation or switching to Gson, with practical lessons for avoiding similar issues.
ClassLoaderDependency ConflictGson
0 likes · 14 min read

This article analyzes how adding Fastjson to a SpringBoot agent causes classloader conflicts that prevent GenericHttpMessageConverter from loading, explains the underlying parent‑delegation mechanism, and presents solutions such as using Maven Shade to rename packages or switching to a lightweight JSON library like Gson.
ClassLoaderDependency ConflictFastjson
0 likes · 16 min read

This article explains why using both clickhouse-rs (TCP) and clickhouse.rs (HTTP) in a single Rust project causes a Cargo links conflict, demonstrates failed workspace isolation attempts, and shows how renaming the links field in the native library resolves the issue.
CargoClickHouseDependency Conflict
0 likes · 6 min read

This article discusses the challenges of incompatible Jar version conflicts in Java projects, explores classloader isolation approaches like Pandora and SOFAArk, and provides a step‑by‑step guide to using the Maven Shade Plugin to relocate and package conflicting Guava libraries into a custom wrapper jar.
Dependency ConflictJar IsolationJava
0 likes · 13 min read

This article explains why jar version conflicts cause runtime errors in Java, introduces class isolation as a solution, and provides step‑by‑step implementations of custom ClassLoaders using both findClass and loadClass overrides, complete with code examples and execution results.
Class IsolationClassLoaderCustom ClassLoader
0 likes · 13 min read

This guide explains what Maven dependency conflicts are, why they matter, and provides step‑by‑step methods—including exclusion tags, the Maven Helper IntelliJ plugin, and IDEA’s dependency diagram—to identify and eliminate conflicting JAR versions in Java projects.
Dependency ConflictExclusionsIntelliJ IDEA
0 likes · 5 min read

Upgrading to Spring Boot 2.2.3 can cause the pigx-gateway service to fail at startup due to an incompatible reactor‑netty ConnectionProvider method, and the article explains the root cause, investigation steps, and how to fix it by adjusting reactor‑netty versions.
ConnectionProviderDependency ConflictJava
0 likes · 5 min read

This guide explains what Maven dependency conflicts are, why they can cause runtime errors, and provides step‑by‑step methods—including exclusion tags and the Maven Helper plugin—to identify and eliminate conflicting JAR versions in Java projects.
Dependency ConflictJavaMaven
0 likes · 5 min read

Learn why Maven dependency conflicts occur, how the shortest‑path rule selects versions, and step‑by‑step methods—including exclusion tags, Maven Helper plugin, and IDE dependency graphs—to identify and eliminate conflicting JARs, ensuring a single consistent version in your project.
Build ToolsDependency ConflictExclusions
0 likes · 5 min read

This article explains what Maven dependency conflicts are, why they occur when different libraries require different versions of the same jar, and provides practical methods—including exclusion tags, the Maven Helper plugin, and IDE visual tools—to identify and eliminate these conflicts for stable Java builds.
Dependency ConflictIDE pluginMaven
0 likes · 5 min read

This article explains the historical problems Maven solves, describes Maven repository types, default settings, project structure, common commands, pom.xml elements, dependency scopes, transitive dependencies, conflict resolution strategies, and how to exclude unwanted artifacts, providing a comprehensive guide for Java developers.
Dependency ConflictJavaMaven
0 likes · 12 min read
