Server setupjava.lang.IllegalStateException: zip file closed
What the log looks like
java\.lang\.IllegalStateException: zip file closed
IllegalStateException: zip file closed[\s\S]{0,400}org\.bukkit\.plugin\.java\.PluginClassLoader\.findClass
How to fix it
- Perform a full server restart with /stop instead of using /reload, PlugMan, or in-game plugin reload commands that disable and re-enable plugins.
- Never overwrite, rename, or delete .jar files in your plugins folder while the server is online; always stop the server before updating plugins or use the plugins/update folder.
- Search earlier in logs/latest.log for messages showing the affected plugin disabling itself on startup (such as a missing bot token, database failure, or invalid config) and fix that configuration issue so its classloader stays open.
- Update the affected plugin to a newer Paper-compatible build if its built-in reload command triggers 'Enabled plugin with unregistered PluginClassLoader' warnings.
| Loaders | Server |
|---|
| Severity | Breaks something |
|---|
| Category | Server setup |
|---|
Check your own log