dependency-conflict-resolver

Diagnose Gradle and Spring classpath conflicts in Kotlin applications.

4|Updated Jun 10, 2026
One-click install
npx skills add https://github.com/mymx2/foreman --skill dependency-conflict-resolver-mymx2
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dependency-conflict-resolver
Source: https://github.com/mymx2/foreman/tree/main/.qoder/skills.collected/skills/dependency-conflict-resolver
Command: npx skills add https://github.com/mymx2/foreman --skill dependency-conflict-resolver-mymx2

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill resolves complex Gradle and Spring classpath conflicts, version drift, and binary incompatibilities that cause runtime errors like NoSuchMethodError or ClassNotFoundException.

Core Features & Use Cases

  • Dependency Diagnosis: Identifies the root cause of version mismatches by analyzing the dependency graph and version authorities.
  • Conflict Resolution: Provides a structured approach to aligning library families (e.g., Jackson, Hibernate, SLF4J) rather than applying brittle, one-off fixes.
  • Use Case: When a project fails at runtime due to conflicting library versions, this skill guides the agent to identify the winning artifact path and apply the minimal, correct fix within the project's version catalog or BOM.

Quick Start

Use the dependency-conflict-resolver skill to diagnose and fix the current classpath conflict causing the NoSuchMethodError in the build.

Frequently Asked Questions about dependency-conflict-resolver

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix Gradle classpath conflicts causing NoSuchMethodError at runtime?

To fix Gradle classpath conflicts causing NoSuchMethodError, analyze the dependency tree to identify version authorities and align conflicting library families within your version catalog or BOM. This structured approach replaces brittle fixes by targeting the winning artifact path for minimal, correct resolution.

Why does my Kotlin Spring application have binary incompatibilities and version drift?

Binary incompatibilities and version drift in Kotlin Spring applications occur when transitive dependencies override expected library versions. Diagnosing the Gradle dependency graph reveals mismatched library families, allowing you to align versions and ensure a stable, minimal resolution across the project.

What is the best way to resolve version mismatches in a Gradle dependency tree?

The best way to resolve version mismatches in a Gradle dependency tree is to analyze version catalogs and BOM configurations to identify the winning artifact. Aligning dependency families systematically ensures a stable resolution rather than applying isolated, one-off version overrides.

How do I align conflicting Spring library families like Jackson and Hibernate in Gradle?

To align conflicting Spring library families like Jackson and Hibernate in Gradle, analyze the dependency graph to find version authorities and apply minimal fixes within the project's BOM. This ensures all related libraries are aligned correctly, preventing runtime linkage errors.

Can I use a version catalog to diagnose and fix Gradle build-time linkage errors?

Yes, you can use a version catalog to diagnose and fix Gradle build-time linkage errors by analyzing the dependency tree and configuring the BOM. This identifies the root cause of version mismatches and applies the minimal, correct dependency alignment.

When should I not use a BOM to fix a classpath conflict?

You should not use a BOM to fix a classpath conflict if the root cause is an incompatible transitive dependency outside the managed family. Analyzing the full Gradle dependency tree is necessary to identify whether the winning artifact requires direct exclusion or a forced version alignment.