Skip to content
Hosting · Error breakdowns

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 plugins at the same time;
  • the library is bundled inside one plugin and conflicts with a separately installed one.

What to do

  1. Identify the library by the field name and package in the stack trace.
  2. Update it to the version the plugin requires.
  3. Check plugins for duplicate .jar files — an old and a new version side by side.
  4. 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