Dependency conflict resolver

From JetBrains/skills · View interactive version

Dependency conflict resolver is an AI agent skill from the GitHub repository JetBrains/skills. Diagnose and resolve Gradle and Spring classpath conflicts, version drift, and binary incompatibilities in Kotlin applications. Use when `NoSuchMethodError`, `ClassNotFoundException`, linkage errors, duplicate logging bindings, Jackson or Hibernate mismatches, or BOM-versus-explicit-version conflict

How to use this skill

Skill file

Dependency Conflict Resolver

Source mapping: Tier 2 high-value skill derived from Kotlin_Spring_Developer_Pipeline.md (SK-05).

Mission

Find which artifact version actually wins, why it wins, and what the narrowest safe correction is.

Treat dependency conflict resolution as a version-authority problem, not a guessing contest.

Read First

Diagnose In This Order

  1. Identify the failing class or method owner.
  2. Identify which artifact provides that class.
  3. Identify all candidate versions on the graph.
  4. Identify the winning version and why it won:
  1. Identify the true version authority that should own the family.

Advanced Classpath Traps

Gradle Resolution Nuances

Expert Heuristics

Preferred Resolution Strategy

Output Contract

Return these sections:

Guardrails

Quality Bar

A good run of this skill explains the conflict path and resolves it at the right authority layer.

A bad run produces a one-off version pin that compiles today and recreates the same conflict in the next branch.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.