Tagged articles

dependencyManagement

7 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.

ClassNotFoundExceptionDependency ConflictNoSuchMethodError
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
JD Cloud Developers
JD Cloud Developers
Jun 6, 2025 · Backend Development

Seamless Java JDK 21 Upgrade: Solving Dependency and Build Challenges

This article outlines the motivations, progress, and common issues encountered when upgrading over 100 Java applications to JDK 21, including deprecated APIs, module system constraints, Maven plugin incompatibilities, and GC choices, and provides concrete migration steps, configuration templates, and best‑practice recommendations for a smooth transition.

GarbageCollectionJDK21ModuleSystem
0 likes · 12 min read
Seamless Java JDK 21 Upgrade: Solving Dependency and Build Challenges
FunTester
FunTester
Apr 6, 2025 · Backend Development

Understanding Java ClassLoader: Common Issues, Root Causes, and Solutions

This article explains Java's dynamic ClassLoader mechanism, outlines the hierarchy of built‑in loaders, details frequent problems such as ClassNotFoundException, NoClassDefFoundError, ClassCastException and version conflicts, and provides practical troubleshooting steps and best‑practice recommendations for reliable class loading.

CustomClassLoaderJVMclassloader
0 likes · 10 min read
Understanding Java ClassLoader: Common Issues, Root Causes, and Solutions
IT Niuke
IT Niuke
Dec 18, 2023 · Backend Development

Understanding Maven Module Inheritance and Aggregation for Multi‑Module Project Builds

This article explains Maven's inheritance and aggregation features, including the super POM, parent POM configuration, module aggregation syntax, reactor build order, dependency management, property definitions, and useful command‑line options, all illustrated with a simple multi‑module demo.

dependencyManagementmavenmodule aggregation
0 likes · 18 min read
Understanding Maven Module Inheritance and Aggregation for Multi‑Module Project Builds