Tagged articles
14 articles
Page 1 of 1
Selected Java Interview Questions
Selected Java Interview Questions
Jan 20, 2026 · Backend Development

How to Diagnose and Fix Maven Dependency Conflicts (NoSuchMethodError & ClassNotFoundException)

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
How to Diagnose and Fix Maven Dependency Conflicts (NoSuchMethodError & ClassNotFoundException)
Architect's Tech Stack
Architect's Tech Stack
Nov 20, 2025 · Backend Development

Quickly Detect and Resolve Maven Dependency Conflicts in IntelliJ

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.

Build ToolDependency ConflictIntelliJ
0 likes · 6 min read
Quickly Detect and Resolve Maven Dependency Conflicts in IntelliJ
Su San Talks Tech
Su San Talks Tech
Aug 6, 2023 · Backend Development

Why Adding Fastjson to a SpringBoot Agent Breaks Class Loading

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.

Dependency ConflictGsonSpringBoot
0 likes · 14 min read
Why Adding Fastjson to a SpringBoot Agent Breaks Class Loading
Xiao Lou's Tech Notes
Xiao Lou's Tech Notes
Aug 2, 2023 · Backend Development

Why Fastjson Breaks SpringBoot Agents and How to Resolve the ClassLoader Conflict

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.

Dependency ConflictGsonSpringBoot
0 likes · 16 min read
Why Fastjson Breaks SpringBoot Agents and How to Resolve the ClassLoader Conflict
High Availability Architecture
High Availability Architecture
Jan 6, 2022 · Backend Development

Resolving Incompatible Jar Dependency Conflicts in Java Projects Using Maven Shade Plugin

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 IsolationShade Plugin
0 likes · 13 min read
Resolving Incompatible Jar Dependency Conflicts in Java Projects Using Maven Shade Plugin
Alibaba Cloud Developer
Alibaba Cloud Developer
Dec 29, 2020 · Backend Development

How to Implement Class Isolation in Java with Custom ClassLoaders

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 IsolationCustom ClassLoaderDependency Conflict
0 likes · 13 min read
How to Implement Class Isolation in Java with Custom ClassLoaders
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Mar 10, 2020 · Backend Development

How to Detect and Resolve Maven Dependency Conflicts Efficiently

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
How to Detect and Resolve Maven Dependency Conflicts Efficiently
Java Architecture Diary
Java Architecture Diary
Jan 20, 2020 · Backend Development

Why Spring Boot 2.2.3 Breaks pigx-gateway and How to Resolve It

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 ConflictReactor Netty
0 likes · 5 min read
Why Spring Boot 2.2.3 Breaks pigx-gateway and How to Resolve It
macrozheng
macrozheng
Jan 15, 2020 · Backend Development

How to Detect and Resolve Maven Dependency Conflicts Efficiently

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.

Build ToolDependency Conflictexclusion
0 likes · 5 min read
How to Detect and Resolve Maven Dependency Conflicts Efficiently
Programmer DD
Programmer DD
Dec 22, 2019 · Backend Development

How to Resolve Maven Dependency Conflicts and Avoid ClassNotFound Errors

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.

Dependency ConflictExclusionsIDE plugin
0 likes · 5 min read
How to Resolve Maven Dependency Conflicts and Avoid ClassNotFound Errors
Architect's Tech Stack
Architect's Tech Stack
Dec 11, 2019 · Backend Development

Understanding Maven Dependency Conflicts and How to Resolve Them

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.

Build ToolDependency ConflictIDE plugin
0 likes · 5 min read
Understanding Maven Dependency Conflicts and How to Resolve Them
Java Captain
Java Captain
Jun 24, 2019 · Backend Development

Understanding Maven: From Pre‑Maven Days to Dependency Management and Configuration

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.

Build ToolDependency ConflictMaven Settings
0 likes · 12 min read
Understanding Maven: From Pre‑Maven Days to Dependency Management and Configuration