What it means
The server tried to start a jar file that isn't there:
Error: Unable to access jarfile server.jar
Java was told to run server.jar (or whatever name your server uses) and couldn't find it in the server's top folder.
Common causes
- The jar was deleted or renamed. Often after uploading files from another host, or tidying up the Files tab.
- It's in a subfolder. Uploading a zip and extracting it can leave everything in a folder inside the top folder, for example
myserver/server.jarinstead ofserver.jar. - A different name. Some downloads are called
paper-1.21.4-232.jarorforge-...-installer.jar, not the name the server expects. - A modpack's server files that need their own start script and haven't been installed properly.
The fix
- Open the Startup tab.
- Check the server software and version are what you want, and save them.
- Start the server. It fetches the server files it needs for that software as it starts.
If you've set a custom start command or jar name, check the name matches a file in the top folder exactly, including capitals, or switch back to the standard startup.
If you uploaded files from another host and they're in a subfolder, move everything up into the top folder with the Files tab or SFTP, so server.properties and your world folder sit at the top.
Don't reach for Reinstall to fix this: it deletes everything on the server, worlds included.
Modpacks
Don't upload a modpack's client files and expect them to start. Use the modpack options on the Startup tab, which install the pack's server files for you.
Questions
I renamed my jar. Can I just name it back?
If you know the exact name the server was using, yes. Otherwise pick the software on the Startup tab again and start the server.
Will fixing this delete my world?
No. Choosing the software and version on the Startup tab keeps your world, plugins and mods. Only Reinstall wipes the server, so take a backup and avoid it for this.