Wiki 9Minecraft Wiki 9Minecraft

Fixing Class Not Found Errors on Paper Servers

Why Paper Plugins Fail to See SQD Lib

When running a Paper server with a standalone copy of SQD Lib in your plugins folder, you might encounter a situation where both SQD Lib and your dependent plugin appear to be installed, yet the plugin still crashes on startup with a class not found error. This happens because Paper isolates plugin files from one another by default unless the dependent plugin explicitly asks to share the classpath.

How to Enable Classpath Sharing

If a Paper plugin requires a separate SQD Lib jar instead of bundling it, you can verify and fix its configuration file so it can locate the library:

1. Stop your Paper server.

2. Navigate to your plugins folder and locate the .jar file of the plugin that is failing to find SQD Lib.

3. Open that plugin's .jar file using any standard archive tool.

4. Look inside the archive for the paper-plugin.yml file and open it in a plain text editor.

5. Check if the file includes the line join-classpath: true. If it is missing or set to false, add or change the line so it reads join-classpath: true.

6. Save the file back into the .jar archive and restart your Paper server.

Join 9Minecraft News & Guides