NoSuchFieldError
A missing field error: a library and plugin version mismatch, how to find the culprit, and how to fix it.
Updated August 13, 2026
java.lang.NoSuchFieldError: PROTOCOL_VERSION
The code accessed a class field that doesn't exist in the loaded version of the library. In meaning, this is close to NoSuchMethodError.
Cause
Almost always, it's a version mismatch:
- the plugin was built against a newer version of the library, but an older one is installed;
- two versions of the same library in
pluginsat the same time; - the library is bundled inside one plugin and conflicts with a separately installed one.
What to do
- Identify the library by the field name and package in the stack trace.
- Update it to the version the plugin requires.
- Check
pluginsfor duplicate.jarfiles — an old and a new version side by side. - If a bundled and an external library conflict, remove the separately installed one or check the plugin's documentation.
Common culprits
ProtocolLib, PlaceholderAPI, Vault, Adventure/MiniMessage, Kotlin libraries — ProtocolLib, Vault, PlaceholderAPI.
Minecraft hostingYour server runs while you are offlineCreate server
