Logs / Error guide / Minecraft
Minecraft: “Error occurred while enabling … (Is it up to date?)”
What the message means
The server tried to start a plugin, and the plugin stopped with an error. It is then disabled – its commands and features are missing. The lines directly below the message (the stack trace) almost always reveal the reason.
What it looks like in the log
[09:14:02] [Server thread/INFO]: Starting minecraft server version 1.21.4
[09:14:05] [Server thread/INFO]: This server is running Paper version 1.21.4-212
[09:14:09] [Server thread/INFO]: [Essentials] Enabling Essentials v2.21.0
[09:14:09] [Server thread/INFO]: [ShopGUIPlus] Enabling ShopGUIPlus v1.98.2
[09:14:10] [Server thread/ERROR]: Error occurred while enabling ShopGUIPlus v1.98.2 (Is it up to date?)
java.lang.NoClassDefFoundError: net/milkbowl/vault/economy/Economy
at net.brcdev.shopgui.ShopGuiPlugin.onEnable(ShopGuiPlugin.java:187)
[09:14:10] [Server thread/INFO]: [ShopGUIPlus] Disabling ShopGUIPlus v1.98.2
Excerpt from an example log, marked the way the analysis marks it.
Common causes
- The plugin doesn't match your server's Minecraft version (often after an update).
- A dependency is missing, for example Vault, ProtocolLib or LuckPerms. The stack trace then shows NoClassDefFoundError with the package name.
- The plugin's configuration file is faulty, for example because of a typo in the YAML file.
- The plugin needs a newer Java version.
- Two plugins collide because they bundle the same library in different versions.
How to fix it
- Read the first line under the message: NoClassDefFoundError or ClassNotFoundException almost always means “dependency missing”. The package name (for example net/milkbowl/vault) tells you which one.
- Install the missing dependency or download the plugin version that matches your server version.
- If the stack trace mentions YAML or ScannerException, check the plugin's config.yml for wrong indentation or missing quotation marks.
- Restart the server – /reload often isn't enough for plugins and causes errors of its own.