Skip to content
Hosting · Error breakdowns

NoClassDefFoundError

A plugin requires a class that is missing: a missing dependency, an incomplete jar, and a conflict between library versions.

Updated August 13, 2026

java.lang.NoClassDefFoundError: me/clip/placeholderapi/PlaceholderAPI

The code referenced a class that isn't present in the running environment.

Causes

  1. The dependency isn't installed. In the example above, PlaceholderAPI is missing — PlaceholderAPI. The package name in the error almost always points to the plugin you need: me/clip/placeholderapi → PlaceholderAPI, net/milkbowl/vault → Vault, com/comphenix/protocol → ProtocolLib.
  2. The dependency is installed, but outdated: the class appeared in a newer version.
  3. Corrupted jar: the file didn't download completely.
  4. The plugin was built for a different core and references classes you don't have — Compatibility.

What to do

  1. Identify the library from the package.
  2. Install or update it — Vault, ProtocolLib.
  3. Re-upload the plugin file if you're unsure about its integrity.
  4. Check the order: the dependency must load first — this usually happens automatically if it's declared in plugin.yml.

Similar errors

ClassNotFoundException — the same thing at the class lookup stage. NoSuchMethodError — the class exists, but the method is gone: a version mismatch — NoSuchMethodError.

Minecraft hostingYour server runs while you are offlineCreate server