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
- 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. - The dependency is installed, but outdated: the class appeared in a newer version.
- Corrupted jar: the file didn't download completely.
- The plugin was built for a different core and references classes you don't have — Compatibility.
What to do
- Identify the library from the package.
- Install or update it — Vault, ProtocolLib.
- Re-upload the plugin file if you're unsure about its integrity.
- 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
