A Minecraft plugin is incompatible or prevents startup
Identify the Java version, the server API and the dependency that the failing plugin is missing. The logs often show the missing API, Java, or dependency.
A Paper or Spigot plugin is not automatically compatible with all versions of Minecraft. The logs often show the missing API, Java, or dependency.
Step-by-step procedure
-
Spot the first ERROR
Go back to the first error that mentions the plugin name, not just the last cascading exception.
-
Check the server software
A Bukkit plugin requires Paper, Purpur or Spigot; it does not load on Vanilla, Forge or Fabric.
-
Compare the versions
Check the Minecraft version, the required Java version and the plugin’s official page.
-
Install the dependencies
Add Vault, ProtocolLib or the required API only from their official source, then restart the server.
Check loaded plugins
plugins
version Vault
Before you start
Write down three things: the server type and version, shown at the top of the "Version" page (for example Paper 1.21.4), the Java version shown in the "Java version" card under "Settings", and the exact name of the failing .jar file. Compare them with the plugin’s official page on Modrinth, Hangar or SpigotMC.
Also keep the list of plugins added or updated since the last successful start: the culprit is almost always among them.
Isolate the faulty plugin
If the log does not clearly point to the culprit, work by elimination. Stop the server, open /plugins in "Files" and rename the suspect .jar to .jar.off: only files ending in .jar are loaded. Restart. If the error disappears, you have found the cause; otherwise restore the original name and move on to the next one.
With many plugins, disable half of them at once, then half of what remains: a few restarts are enough. Do not delete the plugin’s configuration folder, it keeps your settings and data.
Check that everything works
Once fixed, type plugins in the console: every name should be green, a red name means a disabled plugin. In the log, the line Enabling followed by the plugin name confirms it was activated.
Frequently asked questions
What does Could not load followed by the plugin name mean?
The server could not read the plugin. The reason is just below, on the line starting with Caused by: an API version that is too new, Java that is too old or a missing dependency. Read that line rather than the end of the stack trace.
What does Unsupported API version mean?
The plugin.yml declares an api-version newer than your server, for example a plugin built for 1.21 on a 1.20.4 server. Install a plugin version released for your Minecraft version, or update the server from the "Version" page after a backup.
Why does Error occurred while enabling appear when the plugin is installed?
The plugin was read but crashed while enabling: a dependency in the wrong version, a syntax error in its YAML configuration, or a plugin too old or too new for the server. Read the exception just below: NoClassDefFoundError or NoSuchMethodError almost always points to a version mismatch.
Can a plugin built for Java 21 run on Java 17?
No. The log shows UnsupportedClassVersionError with class file version 65.0, while Java 17 only reads up to 61.0. Choose Java 21 in the "Java version" card if your Minecraft version allows it, or install an older version of the plugin.